change origin on tests

This commit is contained in:
Alex Petersen 2014-12-07 11:56:21 -05:00
parent f515394451
commit e3433a4244
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ class HeaderTest(TestCase):
response = self.client.get(
'/api/v1/pokemon/1/',
HTTP_ORIGIN="http://anpeterse.me"
HTTP_ORIGIN="http://pokemon.com"
)
self.assertEqual(response['Access-Control-Allow-Origin'], '*')

View file

@ -9,7 +9,7 @@ class HeaderTest(TestCase):
response = self.client.get(
'/api/v2/pokemon/1/',
HTTP_ORIGIN="http://anpeterse.me"
HTTP_ORIGIN="http://pokemon.com"
)
self.assertEqual(response['Access-Control-Allow-Origin'], '*')