parent
62e68d52a3
commit
edd473c4be
@ -73,7 +73,7 @@ class ExtraTestMixin(qubes.tests.SystemTestsMixin):
|
|||||||
|
|
||||||
def load_tests(loader, tests, pattern):
|
def load_tests(loader, tests, pattern):
|
||||||
for entry in pkg_resources.iter_entry_points('qubes.tests.extra'):
|
for entry in pkg_resources.iter_entry_points('qubes.tests.extra'):
|
||||||
for test_case in entry():
|
for test_case in entry.load()():
|
||||||
tests.addTests(loader.loadTestsFromTestCase(
|
tests.addTests(loader.loadTestsFromTestCase(
|
||||||
type(
|
type(
|
||||||
entry.name + '_' + test_case.__name__,
|
entry.name + '_' + test_case.__name__,
|
||||||
|
Loading…
Reference in New Issue
Block a user