update url in tester
This commit is contained in:
parent
3403577c3e
commit
a9cdde963d
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user