Skip to content

Commit

Permalink
working tests again
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanhilbert committed Sep 28, 2015
1 parent 20cf268 commit c01e64e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions openspending/tests/model/test_country.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ def tearDown(self):

def test_all_countries(self):
result = Country.get_all_json()
assert len(result['data']) == 198
assert len(result['data'][0]['regions']) == 8
assert len(result) == 198
assert len(result[0]['regions']) == 8

def test_properties_regions(self):
tempobj = Country.by_gid(1)
Expand Down
2 changes: 1 addition & 1 deletion openspending/tests/views/test_all_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_home_heartbeat(self):
assert '200' in response.status

def test_categories_dataorgs(self):
response = self.client.get(url_for('categories_api2.dataorgs'))
response = self.client.get(url_for('datasets_api2.dataorgs'))
assert '200' in response.status

def test_countries_countrieslist(self):
Expand Down

0 comments on commit c01e64e

Please sign in to comment.