Skip to content

Commit

Permalink
tests: fix extra tests loader after migrating to importlib
Browse files Browse the repository at this point in the history
Fixes: 84d084c "Remove deprecated pkg_resources, replace with importlib"
  • Loading branch information
marmarek committed May 13, 2024
1 parent ceea705 commit d2c8096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubes/tests/extra.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def runTest(self, err=err):
tests.addTest(ExtraLoadFailure(entry.name))

for entry in importlib.metadata.entry_points(
name='qubes.tests.extra.for_template'):
group='qubes.tests.extra.for_template'):
if include_list is not None and entry.name not in include_list:
continue
if entry.name in exclude_list:
Expand Down

0 comments on commit d2c8096

Please sign in to comment.