Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lekhajee committed Aug 20, 2014
1 parent d4c60d9 commit 700e775
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions mimic/test/test_resource.py
Expand Up @@ -40,12 +40,11 @@ def test_child_resource_gets_base_uri_from_request(self):

request(
self, root, "GET",
"http://mybase/service/{0}/{1}/more/stuff".format(service_id,
region)
"http://mybase/mimic/{0}/{1}/more/stuff".format(service_id, region)
)

self.assertEqual(
"http://mybase/service/{0}/{1}/".format(service_id, region),
"http://mybase/mimic/{0}/{1}/".format(service_id, region),
example.store['uri_prefix'])

def test_service_endpoint_returns_404_if_wrong_service_id(self):
Expand Down Expand Up @@ -104,7 +103,7 @@ def test_service_endpoint_returns_service_resource(self):

(response, content) = self.successResultOf(request_with_content(
self, root, "GET",
"http://mybase/service/{0}/{1}".format(service_id, region)
"http://mybase/mimic/{0}/{1}".format(service_id, region)
))
self.assertEqual(200, response.code)
self.assertEqual('response!', content)
Expand Down

0 comments on commit 700e775

Please sign in to comment.