Skip to content

Commit

Permalink
test_linkcheck_request_headers: cleanup: remove headers.as_string call
Browse files Browse the repository at this point in the history
  • Loading branch information
jayaddison committed May 17, 2023
1 parent 9b9dba2 commit 81ce0f0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_build_linkcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,6 @@ def test_linkcheck_request_headers(app):
def check_headers(self):
if "X-Secret" in self.headers:
return False
if "sesami" in self.headers.as_string():
return False
if self.headers["Accept"] != "text/html":
return False
return True
Expand Down

0 comments on commit 81ce0f0

Please sign in to comment.