Permalink
Browse files

[#567] Test that completion keys are limited

  • Loading branch information...
1 parent 0398b21 commit f79c94d59b9791aba54b02fb3889c05ef104ac68 @nigelbabu nigelbabu committed Mar 29, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 openspending/ui/test/functional/test_account.py
@@ -70,6 +70,7 @@ def test_distinct_json(self):
response = self.app.get(url(controller='account', action='complete'),
params={})
obj = json.loads(response.body)['results']
+ assert obj[0].keys() == [u'fullname', u'name']
assert len(obj) == 1, obj
assert obj[0]['name'] == 'test', obj[0]

0 comments on commit f79c94d

Please sign in to comment.