コード例 #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
ファイル: app_test.py プロジェクト: crazyguitar/pysheeet
    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()