aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-04-11 08:49:42 -0400
committerRob Austein <sra@hactrn.net>2017-04-11 08:49:42 -0400
commitfa06f54b63a4b38dc59b529362a48d1c8075bae7 (patch)
tree4d86111092e0d63445e56fe8d4d8fce9c5f44199
parent9798cf231fe7506135f0cb2361896a1abe3d9ecb (diff)
Move login tests to "slow" test category.
-rw-r--r--unit-tests.py3
1 files changed, 3 insertions, 0 deletions
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)