Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
freyamade committed May 16, 2022
1 parent 467802f commit 610a83a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions backend/api/tests/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ def get_empty_response(url: str, headers: Dict[str, str]):
"""
Return a faked http response object for a site that doesn't contain the token we need
"""
char_id = url.split('/')[-1]
obj = Character.objects.filter(lodestone_id=char_id).first()
body = '<html><head></head><body><div class="character__character_profile"></div></body></html>'
return type('response', (), {'status_code': 200, 'content': body})

Expand Down Expand Up @@ -171,7 +169,6 @@ def test_verify_character_failures(self, mocked_get):
message = f'The verification of {char} has failed! Reason: {error}'
self.assertEqual(notif.text, message)


@patch('requests.get', side_effect=get_desktop_response)
def test_xivapi_lookup_desktop(self, mocked_get):
"""
Expand Down

0 comments on commit 610a83a

Please sign in to comment.