def test_store_key_is_successful(self):
    response = create_user()
    identifier = response.json()['identifier']
    response = store_key(identifier, key='foo', value='bar')
    self.assertEqual(201, response.status_code)
def test_store_key_is_successful(self):
    response = create_user()
    identifier = response.json()['identifier']
    response = store_key(identifier, key='foo', value='bar')
    self.assertEqual(201, response.status_code)