update url in tester

This commit is contained in:
starnakin 2023-11-30 13:40:04 +01:00
parent 3403577c3e
commit a9cdde963d

View File

@ -9,7 +9,7 @@ class ProfileTest(TestCase):
self.user.save() self.user.save()
self.expected_response = {"name": "bozo", self.expected_response = {"name": "bozo",
"title": ""} "title": ""}
self.url = "/profiles/" self.url = "/api/profiles/"
def test_profile_create_on_user_created(self): def test_profile_create_on_user_created(self):
response: HttpResponse = self.client.get(self.url + str(self.user.pk)) response: HttpResponse = self.client.get(self.url + str(self.user.pk))