Check that the real update URL returns XML
(self)
| 101 | bleachbit.update_check_url = preserve_url |
| 102 | |
| 103 | def test_update_url(self): |
| 104 | """Check that the real update URL returns XML""" |
| 105 | response = fetch_url(bleachbit.update_check_url) |
| 106 | self.assertEqual(response.status_code, 200) |
| 107 | self.assertTrue(response.text.startswith('<?xml version=')) |
| 108 | xml.dom.minidom.parseString(response.text) |
| 109 | |
| 110 | def test_update_winapp2(self): |
| 111 | fn = os.path.join(personal_cleaners_dir, 'winapp2.ini') |
nothing calls this directly
no test coverage detected