We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 381e131 commit 566c2c5Copy full SHA for 566c2c5
tests/test_vagrant.py
@@ -308,6 +308,20 @@ def test_vm_lifecycle(vm_dir):
308
assert v.NOT_CREATED == v.status()[0].state
309
310
311
+def test_vm_resumecycle(vm_dir):
312
+ """Test methods controlling the VM - up(), suspend(), resume()."""
313
+ v = vagrant.Vagrant(vm_dir)
314
+
315
+ v.up()
316
+ assert v.RUNNING == v.status()[0].state
317
318
+ v.suspend()
319
+ assert v.SAVED == v.status()[0].state
320
321
+ v.resume()
322
323
324
325
def test_valid_config(vm_dir):
326
v = vagrant.Vagrant(vm_dir)
327
v.up()
0 commit comments