[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Health-dev] [bug #63168] Skiptest attribute is not longer supported on
From: |
Sergi Almacellas Abellana |
Subject: |
[Health-dev] [bug #63168] Skiptest attribute is not longer supported on upstream |
Date: |
Thu, 6 Oct 2022 03:51:02 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?63168>
Summary: Skiptest attribute is not longer supported on
upstream
Project: GNU Health
Submitter: pokoli
Submitted: jue 06 oct 2022 07:51:01
Category: Tryton
Severity: 2 - Minor
Item Group: None
Status: None
Privacy: Public
Assigned to: pokoli
Open/Closed: Open
Release: None
Discussion Lock: Any
Module: health
Component: Hospital Management
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: jue 06 oct 2022 07:51:01 By: Sergi Almacellas Abellana <pokoli>
Since https://bugs.tryton.org/issue8735 (which landed on tryton 5.6) series,
the skiptest attribute is no longer supported so it crashes when running
tests:
======================================================================
ERROR: test_xml_files
(trytond.modules.health.tests.test_health.HealthTestCase)
Test validity of the xml files of the module
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/pokoli/.virtualenvs/gnuhealth/lib/python3.10/site-packages/trytond/tests/test_tryton.py",
line 204, in wrapper
result = func(*args, **kwargs)
File
"/home/pokoli/.virtualenvs/gnuhealth/lib/python3.10/site-packages/trytond/tests/test_tryton.py",
line 800, in test_xml_files
validator.assertValid(tree)
File "src/lxml/etree.pyx", line 3640, in lxml.etree._Validator.assertValid
lxml.etree.DocumentInvalid: Invalid attribute skiptest for element data, line
3
As it will not produce any change on the production data, I think we can just
remove it to avoid the error on the test suite. If you agree on this solution
I will upload the fix for it.
P.S: There are other errors on the test suite but I prefer to work on them in
separate issues.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63168>
_______________________________________________
Mensaje enviado vía Savannah
https://savannah.gnu.org/
- [Health-dev] [bug #63168] Skiptest attribute is not longer supported on upstream,
Sergi Almacellas Abellana <=