Skip to content

Commit

Permalink
PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
nanorepublica committed Jun 8, 2017
1 parent 9cf93f6 commit 8419c27
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@ def test_bad_endpoint(self):
@requests_mock.mock()
def test_load_resource(self, m):
m.register_uri('GET', 'http://duedil.io/v3/uk/test/12345.json',
json={"response": {'name': 'Duedil', 'id': 12345, 'category': 'thing'}})
json={"response": {
'name': 'Duedil',
'id': 12345,
'category': 'thing'
}})
res = TestAttrProResource(api_key=API_KEY, id=12345, load=True)
self.assertEqual(res.category, 'thing')

Expand Down

0 comments on commit 8419c27

Please sign in to comment.