import sys,unittest,json
from pathlib import Path
sys.path[:0]=['/out/source','/out/source/tests']
names=['test_fight_notification_runtime',
       'test_event_artifact.ArtifactTests.test_artifact_failure_has_no_urls_but_event_preserved',
       'test_event_artifact.ArtifactTests.test_delivery_max_two_frozen_body_and_no_retry_400',
       'test_event_artifact_ledger.LedgerTests.test_simultaneous_admission_global_cap_and_duplicate',
       'test_event_artifact_ledger.LedgerTests.test_time_block_and_failed_artifact_release']
result=unittest.TextTestRunner(verbosity=2).run(unittest.TestSuite(unittest.defaultTestLoader.loadTestsFromName(n) for n in names))
Path('/out/download/extra.json').write_text(json.dumps(dict(tests=result.testsRun,pass_=result.wasSuccessful(),skipped=len(result.skipped))))
raise SystemExit(not result.wasSuccessful())
