update(security_test.py): moving tests to new framework

We should be moving tests over to pytest

[none]
This commit is contained in:
Charlton Austin 2017-01-27 11:22:40 -05:00
parent 0b51ea34b1
commit 85bcb63439
7 changed files with 190 additions and 107 deletions

View file

@ -1104,7 +1104,7 @@ class TestCreateOrganization(ApiTestCase):
email='testorg@example.com'),
expected_code=201)
self.assertEquals('"Created"', data)
self.assertEquals('"Created"', data.strip())
# Ensure the org was created.
organization = model.organization.get_organization('neworg')
@ -1145,7 +1145,7 @@ class TestCreateOrganization(ApiTestCase):
headers=dict(Authorization='Bearer ' + token.access_token),
expected_code=201)
self.assertEquals('"Created"', data)
self.assertEquals('"Created"', data.strip())
class TestGetOrganization(ApiTestCase):