Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Commit

Permalink
Fix test to expect a dict instance.
Browse files Browse the repository at this point in the history
  • Loading branch information
mzagozen committed Apr 26, 2019
1 parent da8e87d commit 1bcb5f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_parser_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def test_regression_include_body_example_json(self):
data = self.load('include-body-example-json.yaml')
responses = data.resources['/me'].methods['get'].responses[200]
json_response = responses.body['application/json']
self.assertEqual(json_response.example, '{"foo": "bar"}')
self.assertEqual(json_response.example, {u'foo': u'bar'})


class ResourceParseTestCase(SampleParseTestCase):
Expand Down

0 comments on commit 1bcb5f1

Please sign in to comment.