Skip to content

Commit

Permalink
Fix build breakage: Zenmap sometimes builds purelib, so glob was not …
Browse files Browse the repository at this point in the history
…matching.
  • Loading branch information
bonsaiviking committed Aug 7, 2017
1 parent e8911a9 commit 87057d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zenmap/test/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

os.chdir("..")
suite = unittest.defaultTestLoader.discover(
start_dir=glob.glob("build/lib.*")[0],
start_dir=glob.glob("build/lib*")[0],
pattern="*.py"
)
unittest.TextTestRunner().run(suite)

0 comments on commit 87057d7

Please sign in to comment.