def setUp(self):
    self.client = APIClient()
    self.user = create_user(fname='Test', lname='User', email='example@example.com', password='testpass')
    self.client.force_authenticate(user=self.user)
def setUp(self):
    self.client = APIClient()
    self.user = create_user(fname='Test', lname='User', email='example@example.com', password='testpass')
    self.client.force_authenticate(user=self.user)