Skip to content
Myr

test

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 4d07cad · Browse files · 1 file+25 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+25 added−0 removed

  • other:+25 added−0 removed

1 file+25 added−0 removed

added:test_iteration.py+25 added
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 s.send(r)222324if __name__ == '__main__':25 unittest.main()