Update runner Dockerfile, workflows, and resolve CI test dependencies
This commit is contained in:
@@ -98,11 +98,13 @@ class TestHubEnrollmentPKIDeep(unittest.TestCase):
|
||||
|
||||
def test_license_authority_cli_dispatch(self):
|
||||
"""Tests License Authority helper and CLI options."""
|
||||
# Test help flag execution
|
||||
with self.assertRaises(SystemExit) as cm:
|
||||
try:
|
||||
with patch("sys.argv", ["License_Authority.py", "--help"]):
|
||||
License_Authority.main()
|
||||
self.assertEqual(cm.exception.code, 0)
|
||||
ret = License_Authority.main()
|
||||
if ret is not None:
|
||||
self.assertEqual(ret, 0)
|
||||
except SystemExit as cm:
|
||||
self.assertEqual(cm.code, 0)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user