skip test models in unittest discovery

old-commit-hash: c76434ca9fae432c2da307e6e51b78f56c5fe43c
This commit is contained in:
Adeeb Shihadeh
2022-03-21 13:42:07 -07:00
parent e8d2ac0cdc
commit a3b70f8891

View File

@@ -47,6 +47,7 @@ for i, c in enumerate(sorted(all_known_cars())):
@parameterized_class(('car_model', 'route'), test_cases)
class TestCarModel(unittest.TestCase):
@unittest.skipUnless(__name__ == "__main__", "Long running test. Run individually.")
@classmethod
def setUpClass(cls):
if cls.route is None: