Skip to content

Instantly share code, notes, and snippets.

@JayH5
Last active November 23, 2017 09:36
Show Gist options
  • Save JayH5/edf5dbe08008391b5890fe88ecb0b5a3 to your computer and use it in GitHub Desktop.
Save JayH5/edf5dbe08008391b5890fe88ecb0b5a3 to your computer and use it in GitHub Desktop.
pytest backtrace
test.py::test_admin_page FAILED
====================================== FAILURES ======================================
__________________________________ test_admin_page ___________________________________
nginx_container = <fixtures.NginxContainer object at 0x1069b1cf8>
def test_admin_page(nginx_container):
client = nginx_container.http_client()
response = client.get("/admin")
> assert response.status_code == 200
E assert 400 == 200
E + where 400 = <Response [400]>.status_code
test.py:18: AssertionError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment