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 18, 2023
1 parent fff7d12 commit 7099f3b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_build_linkcheck.py
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 7099f3b

Please sign in to comment.