test
authorKenneth Reitz <me@kennethreitz.com>
Sat, 15 Dec 2012 05:44:42 +0000 (00:44 -0500)
committerKenneth Reitz <me@kennethreitz.com>
Sat, 15 Dec 2012 05:44:42 +0000 (00:44 -0500)
test_iteration.py [new file with mode: 0644]

diff --git a/test_iteration.py b/test_iteration.py
new file mode 100644 (file)
index 0000000..cc7d490
--- /dev/null
@@ -0,0 +1,25 @@
+import requests
+import unittest
+
+
+class IterationTestCase(unittest.TestCase):
+
+    def test_assertion(self):
+        assert 1
+
+    # def test_dzubia(self):
+    #     s = requests.Session()
+    #     r = requests.Request(method='GET', url='http://github.com/')
+
+    #     # r = s.send(r)
+
+    def test_prepared_request(self):
+        s = requests.Session()
+        r = requests.Request(method='GET', url='http://github.com/')
+        r = r.prepare()
+
+        s.send(r)
+
+
+if __name__ == '__main__':
+    unittest.main()
\ No newline at end of file