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_context.html | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 pathod/libpathod/templates/examples_context.html (limited to 'pathod/libpathod/templates/examples_context.html') diff --git a/pathod/libpathod/templates/examples_context.html b/pathod/libpathod/templates/examples_context.html deleted file mode 100644 index afb3bd48..00000000 --- a/pathod/libpathod/templates/examples_context.html +++ /dev/null @@ -1,24 +0,0 @@ -
import requests
-from libpathod import test
-
-
-def test_simple():
-    """
-        Testing the requests module with
-        a pathod context manager.
-    """
-    # Start pathod in a separate thread
-    with test.Daemon() as d:
-        # Get a URL for a pathod spec
-        url = 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 = d.last_log()["request"]
-        assert log["method"] == "PUT"
-
-- cgit v1.2.3