예제 #1
0
파일: app_test.py 프로젝트: srsman/pysheeet
    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()
예제 #2
0
파일: app_test.py 프로젝트: sarah1893/notes
    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()
예제 #3
0
    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()