def test_static_proxy(self): htmls = os.listdir(os.path.join(ROOT, 'notes')) for h in htmls: u = 'notes/' + h resp = static_proxy(u) self.assertEqual(resp.status_code, 200) resp.close()
def test_static_proxy(self): """Test that request static pages.""" htmls = os.listdir(os.path.join(ROOT, "notes")) for h in htmls: u = "notes/" + h resp = static_proxy(u) self.assertEqual(resp.status_code, 200) resp.close()