Remove old tests

I'm not building the API that way any more and I want all my tests to
pass now
This commit is contained in:
Eli Ribble 2016-06-23 10:28:37 -06:00
parent 8fbf13b17c
commit 57ac625ce0
2 changed files with 0 additions and 30 deletions

View File

@ -1,3 +0,0 @@
def test_about(client):
response = client.get('/about/')
assert response.status_code == 200

View File

@ -1,27 +0,0 @@
import json
import pytest
import vanth.platform.user
@pytest.mark.usefixtures('db')
def test_post(client):
data = {
'name' : 'Blue Stahli',
'password' : 'metamorphosis',
'username' : 'BlueStahli',
}
response = client.post('/user/', data=json.dumps(data))
assert response.status_code == 204
assert response.headers['Location']
@pytest.mark.usefixtures('db')
def test_get(client):
location = vanth.platform.user.create('Blue Stahli', 'blue@stahli.com', 'metamorphosis')
response = client.get(location)
assert response.status_code == 200
assert response.json == {
'name' : 'Blue Stahli',
'username' : 'blue@stahli.com',
}