Mercurial > p > roundup > code
comparison test/test_liveserver.py @ 8132:603aa730b067 permission-performance
Fix failing test due to mokey patching
An earlier test monkey-patched the permission checks which subsequently
failed in another test.
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Tue, 22 Oct 2024 16:10:29 +0200 |
| parents | 28aa76443f58 |
| children | 3f0f4746dc7e |
comparison
equal
deleted
inserted
replaced
| 8131:8e9181dfc9fa | 8132:603aa730b067 |
|---|---|
| 1290 | 1290 |
| 1291 # logout | 1291 # logout |
| 1292 f = session.get(self.url_base()+'/?@action=logout') | 1292 f = session.get(self.url_base()+'/?@action=logout') |
| 1293 self.assertIn(b"Remember me?", f.content) | 1293 self.assertIn(b"Remember me?", f.content) |
| 1294 | 1294 |
| 1295 @pytest.mark.xfail | |
| 1296 def test__generic_item_template_editbad(self, user="fred"): | 1295 def test__generic_item_template_editbad(self, user="fred"): |
| 1297 self.test__generic_item_template_editok(user=user) | 1296 self.test__generic_item_template_editok(user=user) |
| 1298 | 1297 |
| 1299 def test_new_issue_with_file_upload(self): | 1298 def test_new_issue_with_file_upload(self): |
| 1300 session, f = self.create_login_session() | 1299 session, f = self.create_login_session() |
