added more tests

include img in manifest
disclaimer in root cli script
add blinker to dev tools
version file included in package
cli bug fixes
This commit is contained in:
Matthew Scragg 2014-10-22 15:38:32 -05:00
parent 38e5ef85c0
commit bf3b3d3d74
13 changed files with 178 additions and 120 deletions

View file

@ -12,8 +12,12 @@ class BaseTest(TestCase):
app.config['PRESERVE_CONTEXT_ON_EXCEPTION'] = False
app.config['WIKI_PATH'] = '/tmp/%s' % random_string(12)
app.config['DB_URI'] = 'sqlite:////tmp/%s.db' % random_string(12)
app.config.update(self.configure())
return app
def configure(self):
return {}
def tearDown(self):
call(['rm', '-rf', self.app.config['WIKI_PATH']])
call(['rm', '-f', self.app.config['DB_URI'][10:]])