Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
senpy
senpy
Commits
cefd6331
Commit
cefd6331
authored
Feb 02, 2016
by
Ignacio Corcuera
Browse files
Test Changed
parent
c2bb93e8
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/blueprints_test/__init__.py
View file @
cefd6331
...
@@ -46,7 +46,7 @@ class BlueprintsTest(TestCase):
...
@@ -46,7 +46,7 @@ class BlueprintsTest(TestCase):
The dummy plugin returns an empty response,
\
The dummy plugin returns an empty response,
\
it should contain the context
it should contain the context
"""
"""
resp
=
self
.
client
.
get
(
"/api
/
?i=My aloha mohame"
)
resp
=
self
.
client
.
get
(
"/api?i=My aloha mohame"
)
self
.
assert200
(
resp
)
self
.
assert200
(
resp
)
logging
.
debug
(
"Got response: %s"
,
resp
.
json
)
logging
.
debug
(
"Got response: %s"
,
resp
.
json
)
assert
"@context"
in
resp
.
json
assert
"@context"
in
resp
.
json
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment