diff --git a/readthedocs/rtd_tests/tests/test_api.py b/readthedocs/rtd_tests/tests/test_api.py index 371c85082a2..beb1261265f 100644 --- a/readthedocs/rtd_tests/tests/test_api.py +++ b/readthedocs/rtd_tests/tests/test_api.py @@ -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...',