(self)
| 739 | self.assertEqual(proxy.network_interface, "foo") |
| 740 | |
| 741 | def test_both_set(self): |
| 742 | proxy = _RequestProxy( |
| 743 | HTTPRequest("http://example.com/", proxy_host="foo"), dict(proxy_host="bar") |
| 744 | ) |
| 745 | self.assertEqual(proxy.proxy_host, "foo") |
| 746 | |
| 747 | def test_neither_set(self): |
| 748 | proxy = _RequestProxy(HTTPRequest("http://example.com/"), dict()) |
nothing calls this directly
no test coverage detected