We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe7f125 commit 32aae0eCopy full SHA for 32aae0e
tests/check_public_interfaces.py
@@ -210,11 +210,5 @@ def test_gpg_functions(self):
210
securesystemslib.gpg.functions.export_pubkey('f00')
211
self.assertEqual(expected_error_msg, str(ctx.exception))
212
213
-
214
215
-if __name__ == '__main__':
216
- suite = unittest.TestLoader().loadTestsFromTestCase(TestPublicInterfaces)
217
- all_tests_passed = unittest.TextTestRunner(
218
- verbosity=1, buffer=True).run(suite).wasSuccessful()
219
- if not all_tests_passed:
220
- sys.exit(1)
+if __name__ == "__main__":
+ unittest.main(verbosity=1, buffer=True)
0 commit comments