Update a console script that creates a boilerplate

This commit is contained in:
Michael Mintz 2019-12-27 20:28:49 -05:00
parent 2515b3402c
commit 18c04e1a59
1 changed files with 3 additions and 2 deletions

View File

@ -152,10 +152,11 @@ def main():
data.append("")
data.append(" def setUp(self):")
data.append(" super(BaseTestCase, self).setUp()")
data.append(" # Add custom setUp code AFTER the super() line")
data.append(" # << Add custom code AFTER the super() line >>")
data.append("")
data.append(" def tearDown(self):")
data.append(" # Add custom code BEFORE the super() line")
data.append(" self.save_teardown_screenshot()")
data.append(" # << Add custom code BEFORE the super() line >>")
data.append(" super(BaseTestCase, self).tearDown()")
data.append("")
data.append(" def login(self):")