Esempio n. 1
0
 def setUp(self):
     super(TestKeys, self).setUp()
     self.user = users.create(self.session, "derp", "derpfestor")
     self.main_key = create(self.session, self.user)
Esempio n. 2
0
    def test_create_key(self):
        key = create(self.session, self.user)

        assert key.user_id == self.user.user_id