Skip to content

Commit

Permalink
More tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd committed May 24, 2018
1 parent dc2cbdd commit 86d7bde
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions readthedocs/rtd_tests/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,11 @@ def test_get_raw_log(self):
self.assertEqual(resp.status_code, 200)

self.assertIn('RTD build information', resp.content.decode())
self.assertIn('Build: {}'.format(build.id), resp.content.decode())
self.assertIn('Project: {}'.format(build.project.id), resp.content.decode())
self.assertIn('Version: {}'.format(build.commit), resp.content.decode())
self.assertIn('State: {}'.format(build.state), resp.content.decode())
self.assertIn('Success: {}'.format(build.success), resp.content.decode())
self.assertIn('[rtd-command-info]', resp.content.decode())
self.assertIn(
'python setup.py install\nInstalling dependencies...',
Expand Down

0 comments on commit 86d7bde

Please sign in to comment.