Skip to content
Myr

test_iteration.py

This file

Path

test_iteration.py

29 lines · 539 bytes · Python

Last changed by

really coming togetherKenneth Reitzbefore adoption31d10c0

History of this file

Take it

1import requests2import unittest345class IterationTestCase(unittest.TestCase):67    def test_assertion(self):8        assert 1910    # def test_dzubia(self):11    #     s = requests.Session()12    #     r = requests.Request(method='GET', url='http://github.com/')1314    #     # r = s.send(r)1516    def test_prepared_request(self):17        s = requests.Session()18        r = requests.Request(method='GET', url='http://github.com/')19        r = r.prepare()2021        r = s.send(r)22        print r232425262728if __name__ == '__main__':29    unittest.main()