예제 #1
0
파일: test_entry.py 프로젝트: keybar/keybar
 def setup(self):
     self.device = DeviceFactory.create()
예제 #2
0
    def test_fingerprint(self):
        expected = 'a4a4 aeca b361 a574  83d4 8fa8 e5f3 5efa'

        device = DeviceFactory.create()
        assert device.fingerprint == expected
예제 #3
0
 def test_has_relation_to_user(self):
     device = DeviceFactory.create()
     assert device.user is not None
예제 #4
0
 def test_device_can_have_unknown_authorized_status(self):
     device = DeviceFactory.create()
     assert device.authorized is None