Создал комманду востановления из бэкапа, ее построитель и ручной тест

This commit is contained in:
Rustam Zaitov
2013-10-29 03:48:08 +04:00
parent 8c0c1d1c43
commit 10a41bf1db
3 changed files with 61 additions and 0 deletions
@@ -0,0 +1,15 @@
from CommandBuilders.RestoreBackupCommandBuilder import RestoreBackupCommandBuilder
from ManualTests.path_provider import PathProvider
line = "restore from backup"
baseDir = '../'
path_provider = PathProvider(baseDir)
builder = RestoreBackupCommandBuilder(path_provider)
command = builder.getCommandFor(line)
command.execute()