Commit 748d1819 by Trevor Austin

Remove tests for passwords app

parent 326cb853
......@@ -11,17 +11,8 @@ def client():
def test_static_html(client):
"""Serves the static html page and the root path"""
rv = client.get('/')
assert b'<title>Single-Page Login and Post</title>' in rv.data
# TODO
def test_signup_and_login(client):
"""Tests that I can log in with Trevor's credentials"""
new_username = "something cool"
new_password = "something weird"
client.post('/api/signup', json = {'username':new_username, 'password':new_password})
response = client.post('/api/login', json = {'username':new_username, 'password':new_password})
assert response.status_code == 200
# TDOD
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment