Mercurial > hg > MakeItSo
annotate examples/python-templates/unittest_template.py @ 166:0c95d7f25d9b
makeitso/python.py
| author | Jeff Hammel <jhammel@mozilla.com> | 
|---|---|
| date | Tue, 24 Sep 2013 13:07:44 -0700 | 
| parents | 386a44a52139 | 
| children | 
| rev | line source | 
|---|---|
| 155 
386a44a52139
moving to a thing with script template
 Jeff Hammel <jhammel@mozilla.com> parents: diff
changeset | 1 #!/usr/bin/env python | 
| 
386a44a52139
moving to a thing with script template
 Jeff Hammel <jhammel@mozilla.com> parents: diff
changeset | 2 | 
| 
386a44a52139
moving to a thing with script template
 Jeff Hammel <jhammel@mozilla.com> parents: diff
changeset | 3 """ | 
| 
386a44a52139
moving to a thing with script template
 Jeff Hammel <jhammel@mozilla.com> parents: diff
changeset | 4 """ | 
| 
386a44a52139
moving to a thing with script template
 Jeff Hammel <jhammel@mozilla.com> parents: diff
changeset | 5 | 
| 
386a44a52139
moving to a thing with script template
 Jeff Hammel <jhammel@mozilla.com> parents: diff
changeset | 6 class TestAddonBackup(unittest.TestCase): | 
| 
386a44a52139
moving to a thing with script template
 Jeff Hammel <jhammel@mozilla.com> parents: diff
changeset | 7 pass | 
| 
386a44a52139
moving to a thing with script template
 Jeff Hammel <jhammel@mozilla.com> parents: diff
changeset | 8 | 
| 
386a44a52139
moving to a thing with script template
 Jeff Hammel <jhammel@mozilla.com> parents: diff
changeset | 9 if __name__ == '__main__': | 
| 
386a44a52139
moving to a thing with script template
 Jeff Hammel <jhammel@mozilla.com> parents: diff
changeset | 10 unittest.main() | 
