示例#1
0
 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")
示例#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")
示例#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")