def test_class_type_and_prefix(self):
     """
     Verify the simple classmethods getClassType and getClassPrefix
     """
     from linotp.lib.tokens.yubikeytoken import YubikeyTokenClass
     self.assertEqual(YubikeyTokenClass.getClassType(), "yubikey")
     self.assertEqual(YubikeyTokenClass.getClassPrefix(), "UBAM")
 def test_class_type_and_prefix(self):
     """
     Verify the simple classmethods getClassType and getClassPrefix
     """
     from linotp.lib.tokens.yubikeytoken import YubikeyTokenClass
     self.assertEqual(YubikeyTokenClass.getClassType(), "yubikey")
     self.assertEqual(YubikeyTokenClass.getClassPrefix(), "UBAM")
Example #3
0
 def test_class_type_and_prefix(self):
     """
     Verify the simple classmethods getClassType and getClassPrefix
     """
     self.assertEqual(YubikeyTokenClass.getClassType(), "yubikey")
     self.assertEqual(YubikeyTokenClass.getClassPrefix(), "UBAM")
Example #4
0
 def test_class_type_and_prefix(self):
     """
     Verify the simple classmethods getClassType and getClassPrefix
     """
     self.assertEqual(YubikeyTokenClass.getClassType(), "yubikey")
     self.assertEqual(YubikeyTokenClass.getClassPrefix(), "UBAM")