Mercurial > p > roundup > code
comparison test/test_cgi.py @ 5978:fefdf5f97c50
Clean up SENDMAILDEBUG in test case.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 09 Nov 2019 16:53:42 -0500 |
| parents | 71c68961d9f4 |
| children | 54d0080769f9 |
comparison
equal
deleted
inserted
replaced
| 5977:1fc40205c5d0 | 5978:fefdf5f97c50 |
|---|---|
| 1639 'password':'secret', | 1639 'password':'secret', |
| 1640 '@confirm@password':'secret', 'address':'iexist@bork.bork'}, | 1640 '@confirm@password':'secret', 'address':'iexist@bork.bork'}, |
| 1641 nodeid=None, userid='2') | 1641 nodeid=None, userid='2') |
| 1642 self.assertRaises(Redirect, actions.RegisterAction(cl).handle) | 1642 self.assertRaises(Redirect, actions.RegisterAction(cl).handle) |
| 1643 | 1643 |
| 1644 # clean up from email log | |
| 1645 if os.path.exists(SENDMAILDEBUG): | |
| 1646 os.remove(SENDMAILDEBUG) | |
| 1644 | 1647 |
| 1645 def testserve_static_files(self): | 1648 def testserve_static_files(self): |
| 1646 # make a client instance | 1649 # make a client instance |
| 1647 cl = self._make_client({}) | 1650 cl = self._make_client({}) |
| 1648 | 1651 |
