Skip to content

Commit

Permalink
Format code with black
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalp committed Nov 5, 2023
1 parent d892c45 commit f780c9c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions misago/users/tests/test_twitter_profilefield.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,7 @@ def test_api_validates_field(self):
test_link = reverse("misago:api:user-edit-details", kwargs={"pk": self.user.pk})

response = self.client.post(test_link, data={"twitter": "@lorem!ipsum"})
self.assertContains(
response, "This is not a valid X handle.", status_code=400
)
self.assertContains(response, "This is not a valid X handle.", status_code=400)

def test_api_edits_field(self):
"""field can be edited via api"""
Expand Down

0 comments on commit f780c9c

Please sign in to comment.