From dedca540996f337f3965fb87531fd03d7e27e417 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Tue, 16 Feb 2016 20:34:14 +0100 Subject: rename pathod source directory --- pathod/libpathod/templates/examples_setup.html | 32 -------------------------- 1 file changed, 32 deletions(-) delete mode 100644 pathod/libpathod/templates/examples_setup.html (limited to 'pathod/libpathod/templates/examples_setup.html') diff --git a/pathod/libpathod/templates/examples_setup.html b/pathod/libpathod/templates/examples_setup.html deleted file mode 100644 index c2da1cd1..00000000 --- a/pathod/libpathod/templates/examples_setup.html +++ /dev/null @@ -1,32 +0,0 @@ -
import requests
-from libpathod import test
-
-
-class Test:
-
-    """
-        Testing the requests module with
-        a pathod instance started for
-        each test.
-    """
-
-    def setUp(self):
-        self.d = test.Daemon()
-
-    def tearDown(self):
-        self.d.shutdown()
-
-    def test_simple(self):
-        # Get a URL for a pathod spec
-        url = self.d.p("200:b@100")
-        # ... and request it
-        r = requests.put(url)
-
-        # Check the returned data
-        assert r.status_code == 200
-        assert len(r.content) == 100
-
-        # Check pathod's internal log
-        log = self.d.last_log()["request"]
-        assert log["method"] == "PUT"
-
-- cgit v1.2.3