Merge pull request #2314 from charltonaustin/move_tests_over_to_pytest_no_story

update(security_test.py): moving tests to new framework
This commit is contained in:
Charlton Austin 2017-02-03 16:21:03 -05:00 committed by GitHub
commit 5a06530b43
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):