Skip to content

Commit

Permalink
Fixed final test fails
Browse files Browse the repository at this point in the history
  • Loading branch information
skeating committed Nov 9, 2023
1 parent 2dad67e commit 87a7e05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions deviser/pytest_files/test_examples/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ def test_specific_xml_fail(name, start, stop, number):
"""
assert 0 == ret.run_specific_xml_fail_tests(name, start, stop, number)


#########################################################################################################
# fails
# @pytest.mark.parametrize('name', [
# ('base_class'),
Expand Down
3 changes: 2 additions & 1 deletion deviser/validation/ValidationXMLFiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def __init__(self, lib_object, verbose=False):
self.pkg_version = lib_object['pkg_version']
self.pkg_ref = 'NA'
self.reqd_status = lib_object['required']
self.full_package_command = lib_object['name'] + ' Package'

self.tree = query.create_object_tree(lib_object, False)

Expand Down Expand Up @@ -127,7 +128,7 @@ def determine_rules(self):
rules = ValidationRulesGeneral\
.ValidationRulesGeneral(self.fullname, number, self.package,
self.pkg_ref, self.level, self.version,
self.pkg_version, self.reqd_status)
self.pkg_version, self.reqd_status, self.full_package_command)
rules.determine_rules()
self.class_rules += rules.rules
number = self.offset + 20200
Expand Down

0 comments on commit 87a7e05

Please sign in to comment.