def METHOD_NAME(self):
    response = self.client.post(self.url, {'username': 'admin', 'password': 'adminadmin123'})
    result = response.data
    self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST)
    self.assertEqual(
        result['non_field_errors'],
        [ErrorDetail(string='Username or password unknown', code='invalid')]
    )