Skip to content

Commit

Permalink
remove extra test
Browse files Browse the repository at this point in the history
  • Loading branch information
aminalaee committed Apr 24, 2022
1 parent aa7b636 commit 104ffa1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/test_staticfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,11 +464,3 @@ def test_staticfiles_follows_symlinks_to_break_out_of_dir(tmpdir, test_client_fa
assert response.url == "http://testserver/index.html"
assert response.status_code == 200
assert response.text == "<h1>Hello</h1>"

app = StaticFiles(directory=statics_path, html=True)
client = test_client_factory(app)

response = client.get("/")
assert response.url == "http://testserver/"
assert response.status_code == 200
assert response.text == "<h1>Hello</h1>"

0 comments on commit 104ffa1

Please sign in to comment.