def METHOD_NAME(self):
    super().METHOD_NAME()
    self.user = UserModel.objects.create_user(
        username='testuser', password='secret')
    self.namespace = models.Namespace.objects.create(
        pk=12, name='mynamespace')
    self.namespace.owners.set([self.user])
    self.client.login(username=self.user.username, password='secret')