Skip to content

Commit

Permalink
Make regression checks more thorough
Browse files Browse the repository at this point in the history
  • Loading branch information
mmocny committed May 19, 2015
1 parent eca4552 commit a7efd06
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions web-service/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,13 @@ def test_regression_urls(self):
self.assertIn('metadata', result)
self.assertEqual(len(result['metadata']), len(REGRESSION_TEST_URLS))

#self.assertIn('description', result['metadata'][0])
#self.assertIn('title', result['metadata'][0])
#self.assertIn('url', result['metadata'][0])
#self.assertIn('rank', result['metadata'][0])
#self.assertIn('id', result['metadata'][0])
#self.assertIn('icon', result['metadata'][0])
for beaconResult in result['metadata']:
self.assertIn('description', beaconResult)
self.assertIn('title', beaconResult)
self.assertIn('url', beaconResult)
self.assertIn('rank', beaconResult)
self.assertIn('id', beaconResult)
#self.assertIn('icon', beaconResult)

def test_invalid_rssi(self):
result = self.call({
Expand Down

0 comments on commit a7efd06

Please sign in to comment.