def test_autorules_client(): app = gh_app(_setup) c = Client(app) i, s, h = c.open('/') assert '404' in s i, s, h = c.open('/pages/') print i, s, h assert '200' in s assert 'hello' in ''.join(i)
def test_appliance(): gh_app(_setup)