Skip to content

Commit

Permalink
test_linkcheck_request_headers: cleanup: remove (another) headers.as_…
Browse files Browse the repository at this point in the history
…string call
  • Loading branch information
jayaddison committed May 17, 2023
1 parent 81ce0f0 commit 58d7b07
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_build_linkcheck.py
Expand Up @@ -299,8 +299,6 @@ def test_linkcheck_request_headers_no_slash(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"] != "application/json":
return False
return True
Expand Down

0 comments on commit 58d7b07

Please sign in to comment.