Skip to content

Commit 119a52f

Browse files
committed
Minor hxcanges and fixes
1 parent 7c0c842 commit 119a52f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def pytest_collection_modifyitems(items):
55
xmlsec1 1.3.11, so no tests should use xmlsec after it runs.
66
"""
77

8-
def module_shutdown_tests_last(item):
9-
return int('test_xmlsec.py::TestModule::test_initialize_module' in item.nodeid)
8+
def module_init_shutdown_tests_last(item):
9+
return int('test_xmlsec.py::TestModule::test_init_shutdown_module' in item.nodeid)
1010

11-
items.sort(key=module_shutdown_tests_last)
11+
items.sort(key=module_init_shutdown_tests_last)

tests/test_xmlsec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
class TestModule(base.TestMemoryLeaks):
66
iterations = 0
77

8-
def test_initialize_module(self):
8+
def test_init_shutdown_module(self):
99
"""Check explicit initialization before final module shutdown.
1010
1111
This test is invoked last because shutdown is process-final: since

0 commit comments

Comments
 (0)