1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-31 23:16:22 -07:00

Make all testing options available to command line

This commit is contained in:
Eggbertx 2024-12-12 17:56:39 -08:00
parent 46c1899732
commit 760f1cb75e
6 changed files with 74 additions and 32 deletions

View file

@ -529,7 +529,7 @@ if __name__ == "__main__":
from tools.selenium_testing.runtests import setup_selenium_args, start_tests, close_tests
args = setup_selenium_args(parser)
try:
start_tests(args.browser, args.headless, args.keepopen, args.site, args.board, "html/static/notbanned.png", args.singletest)
start_tests(args.__dict__)
except KeyboardInterrupt:
print("Tests interrupted by KeyboardInterrupt, exiting")
except Exception: