(self)
| 11 | # <<< Run custom setUp() code for tests AFTER the super().setUp() >>> |
| 12 | |
| 13 | def tearDown(self): |
| 14 | self.save_teardown_screenshot() # If test fails, or if "--screenshot" |
| 15 | if self.has_exception(): |
| 16 | # <<< Run custom code if the test failed. >>> |
| 17 | pass |
| 18 | else: |
| 19 | # <<< Run custom code if the test passed. >>> |
| 20 | pass |
| 21 | # (Wrap unreliable tearDown() code in a try/except block.) |
| 22 | # <<< Run custom tearDown() code BEFORE the super().tearDown() >>> |
| 23 | super().tearDown() |
| 24 | |
| 25 | def login(self): |
| 26 | # <<< Placeholder. Add your code here. >>> |
no test coverage detected