Added a post message, still nowhere near clean enough

This commit is contained in:
Maximilien Rigaut 2022-06-23 15:53:29 +02:00
parent 0fa67dde2d
commit 4d45da4867
No known key found for this signature in database
GPG Key ID: 4F14B23709ADA5B1
2 changed files with 4 additions and 3 deletions

View File

@ -52,7 +52,7 @@ class SpideyTest(test_template.TestTemplate):
if lines > 1:
self.is_infected = True
if self.is_infected:
if self.is_infected: # TODO: set a status here, explaining and why the test failed, the scary part will be handled by the main program
print("\n!!! WARNING !!!\n"
"Unless you've installed a plugin you really trust, chances are your discord install "
"is corrupted. We suggest uninstalling discord and deleting all its files before reinstalling.\n"

View File

@ -122,7 +122,7 @@ class TestRunner:
if self.args.launch:
while True:
if POST_RUN_ALLOWED:
print("Running post test runner")
print("Running post test runner...")
return 0
time.sleep(0.5)
return 0
@ -199,5 +199,6 @@ def run_check(args, agnpath):
while tr.get_exit_code() == -1:
print(tr.get_status())
time.sleep(0.5)
print("The test sequence is now finished")
print(tr.get_status())
sys.exit(tr.get_exit_code())