Commits

Mikhail Korobov committed 3f0cf4b

Complain if snapshot is not found

Comments (0)

Files changed (1)

         self.box.stop()
 
     def activate_snapshot(self, name):
+        assert self.box.snapshot_exists(name), 'Snapshot "%s" does not exist' % name
         self.box.stop()
         self.box.snapshot('restore', name)
         self.box.start()