| Conditions | 1 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | """ |
||
| 9 | def test_notexistent_url(self): |
||
| 10 | # Uncomment the following line to preserve |
||
| 11 | # test case output and other files (config, state, ect.) |
||
| 12 | # in system temp folder. |
||
| 13 | # self.set_delete_temp_folder(False) |
||
| 14 | |||
| 15 | conn = self._get_connection() |
||
| 16 | conn.request("GET", "/unicorn")
|
||
| 17 | res = conn.getresponse() |
||
| 18 | |||
| 19 | self.assertEqual(404, res.status) |
||
| 20 | |||
| 27 |