mirror of
https://github.com/Infinidat/infi.clickhouse_orm.git
synced 2025-07-23 22:39:50 +03:00
fix test
This commit is contained in:
parent
6f975a801c
commit
58e322cc52
|
@ -22,6 +22,8 @@ class SystemPartTest(unittest.TestCase):
|
||||||
self.database.drop_database()
|
self.database.drop_database()
|
||||||
|
|
||||||
def _get_backups(self):
|
def _get_backups(self):
|
||||||
|
if not os.path.exists(self.BACKUP_DIR):
|
||||||
|
return []
|
||||||
_, dirnames, _ = next(os.walk(self.BACKUP_DIR))
|
_, dirnames, _ = next(os.walk(self.BACKUP_DIR))
|
||||||
return dirnames
|
return dirnames
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user