| Conditions | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | """ |
||
| 23 | def test_notexistent_url(self): |
||
| 24 | session = requests.Session() |
||
| 25 | # Do not verify servers' cert to be signed by trusted CA |
||
| 26 | session.verify = False |
||
| 27 | # Do not warn about insecure request |
||
| 28 | requests.packages.urllib3.disable_warnings() |
||
| 29 | response = session.get(url=f"https://localhost:{self._get_port()}/unicorn")
|
||
| 30 | |||
| 31 | self.assertEqual(404, response.status_code) |
||
| 32 |