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 19, 2022
1 parent 68370fa commit 6b6fe29
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/test_staticfiles.py
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 6b6fe29

Please sign in to comment.