'Ensure creating a token with no key will auto-assign a key'

def test_token_has_auto_assigned_key_if_none_provided(self):

    self.token.delete()
    token = self.model.objects.create(user=self.user)
    assert bool(token.key)
