Example #1
0
def show_status():

    context = {
        'user': current_user,
        'SITE': SITE,
        'DESCRIPTION': DESCRIPTION,
        'GITHUB_STATUS': github_utils.get_status(),
        'TRAVIS_STATUS': travis_utils.get_status(),
    }

    return render_template('status.html', **context)
Example #2
0
 def test_should_get_status(self):
     self.assertIn(
         'all systems operational', github_utils.get_status().lower()
     )