Try and catch block for dbRebuild (#2047)
* Try and catch block for dbRebuild * Use self.log.error and not logging * Use self.log.error and not logging in SiteStorage also * Check if the rebuild is working
This commit is contained in:
parent
9a267ffcaf
commit
753396ac0c
8 changed files with 55 additions and 23 deletions
|
@ -20,3 +20,6 @@ class TestSiteStorage:
|
|||
|
||||
# Subdir
|
||||
assert set(site.storage.list("data-default")) == set(["data.json", "users"])
|
||||
|
||||
def testDbRebuild(self, site):
|
||||
assert site.storage.rebuildDb()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue