From fa06f54b63a4b38dc59b529362a48d1c8075bae7 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Tue, 11 Apr 2017 08:49:42 -0400 Subject: Move login tests to "slow" test category. --- unit-tests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/unit-tests.py b/unit-tests.py index 295bf40..05b1c96 100644 --- a/unit-tests.py +++ b/unit-tests.py @@ -197,12 +197,15 @@ class TestPIN(TestCase): self.assertRaises(HAL_ERROR_FORBIDDEN, hsm.is_logged_in, user2) hsm.logout() + @unittest.skipUnless(args.all_tests, "Slow") def test_login_wheel(self): self.login_logout(HAL_USER_WHEEL) + @unittest.skipUnless(args.all_tests, "Slow") def test_login_so(self): self.login_logout(HAL_USER_SO) + @unittest.skipUnless(args.all_tests, "Slow") def test_login_user(self): self.login_logout(HAL_USER_NORMAL) -- cgit v1.2.3