Skip to content

Commit

Permalink
increase coverage #214
Browse files Browse the repository at this point in the history
  • Loading branch information
cahytinne committed Jul 28, 2015
1 parent 741f031 commit ebd9f19
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,12 @@ def test_get_concept(self):
self.assertEqual(res.json['id'], 1)
self.assertEqual(res.json['type'], 'concept')

def test_get_conceptscheme(self):
res = self.testapp.get('/conceptschemes/TREES', headers=self._get_default_headers())
self.assertEqual('200 OK', res.status)
self.assertIn('application/json', res.headers['Content-Type'])
self.assertIsNotNone(res.json['id'])

def test_get_concept_dictprovider(self):
res = self.testapp.get('/conceptschemes/TEST/c/1', headers=self._get_default_headers())
self.assertEqual('200 OK', res.status)
Expand Down

0 comments on commit ebd9f19

Please sign in to comment.