mirror of
https://github.com/hanzoai/datastore-orm.git
synced 2026-09-30 21:40:30 +00:00
fix test
This commit is contained in:
@@ -22,6 +22,8 @@ class SystemPartTest(unittest.TestCase):
|
||||
self.database.drop_database()
|
||||
|
||||
def _get_backups(self):
|
||||
if not os.path.exists(self.BACKUP_DIR):
|
||||
return []
|
||||
_, dirnames, _ = next(os.walk(self.BACKUP_DIR))
|
||||
return dirnames
|
||||
|
||||
|
||||
Reference in New Issue
Block a user