[Cryptech-Commits] [sw/libhal] 01/02: Move login tests to "slow" test category.

git at cryptech.is git at cryptech.is
Tue Apr 11 12:52:25 UTC 2017


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch pkcs8
in repository sw/libhal.

commit fa06f54b63a4b38dc59b529362a48d1c8075bae7
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Tue Apr 11 08:49:42 2017 -0400

    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)
 



More information about the Commits mailing list