~hggdh2/+junk/pasaffe

« back to all changes in this revision

Viewing changes to tests/test_pasaffe-cli.py

  • Committer: C de-Avillez
  • Date: 2015-12-11 21:39:43 UTC
  • Revision ID: hggdh2@ubuntu.com-20151211213943-4x9wf1xdsgee5yld
tests/test_pasaffe-cli.py: make sure there is no stale test DB before
  starting a test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
 
153
153
class TestPasaffeCLI(unittest.TestCase):
154
154
    def csetUp(self):
155
 
        pass
 
155
        # remove any left-over pasaffe DB
 
156
        if os.path.isfile(db_name):
 
157
            os.remove(db_name)
156
158
 
157
159
    def tearDown(self):
158
160
        if os.path.isfile(db_name):