示例#1
0
 def test_dump(self):
     k = keystore.keystore(self.file)
     k.add(self.key, "Test Secret")
     k.dump()
示例#2
0
 def test_totp(self):
     k = keystore.keystore(self.file)
     k.add(self.key, "Test Secret")
     print(k.keys())
示例#3
0
 def test_add_key(self):
     k = keystore.keystore(self.file)
     k.add('top secret string', 'title')
     print(k.get('title'))
示例#4
0
 def test_remove(self):
     k = keystore.keystore(self.file)
     k.add('title', 'top secret string')
     k.remove('title')
示例#5
0
 def test_just_create_a_instance(self):
     k = keystore.keystore(self.file)