Skip to content

Commit

Permalink
dj 0.0.4 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
aleontiev committed Jul 28, 2017
1 parent a535b08 commit d564cd1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
from {{app}}.utils.urls import load_urls
from djx.urls import load_urls
urlpatterns = load_urls(__file__)
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ pytest==2.7.2
psycopg2==2.5.1
tox-pyenv==1.0.2
tox==2.3.1
djay==0.0.3
djay==0.0.4
2 changes: 1 addition & 1 deletion tests/integration/test_blueprints.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test_blueprints(self):
time.sleep(2)

# verify a simple POST flow for the "foo" resource
response = requests.post('http://localhost:9123/v0/foos/')
response = requests.post('http://localhost:9123/api/v0/foos/')
self.assertTrue(response.status_code, 201)
content = json.loads(response.content)
self.assertEquals(content, {'foo': {'id': 1}})
Expand Down

0 comments on commit d564cd1

Please sign in to comment.