-limits = ["acceptance", "unit"]
-for test_type in limits:
- if "--no{}".format(test_type) in sys.argv:
- sys.argv.remove("--no{}".format(test_type))
- limits.remove(test_type)
- if "--only{}".format(test_type) in sys.argv:
- sys.argv.remove("--only{}".format(test_type))
- limits = [test_type]
- break
-