Skip to content

Commit

Permalink
Update tests from include_issues flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrae committed Feb 2, 2016
1 parent b5d9732 commit 7811556
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion test/integration/test_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ def test_issues(self):
self.assertEqual(response.status_code, 200)
response = json.loads(response.data)
self.assertTrue('project' in response)
self.assertTrue('issues' not in response['project'])

def test_issues_with_labels(self):
'''
Expand Down
2 changes: 1 addition & 1 deletion test/integration/test_organizations.py
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ def test_org_dont_show_issues(self):
response = json.loads(response.data)
for org in response['objects']:
if org['current_projects']:
self.assertFalse('issues' in org['current_projects'][0])
self.assertFalse(isinstance(org['current_projects'][0]["issues"], list))
break

def test_geojson(self):
Expand Down

0 comments on commit 7811556

Please sign in to comment.