@@ -394,7 +394,7 @@ def test_01_volume_snapshot(self):
394394 )
395395
396396 vm_from_temp = VirtualMachine .create (
397- self .apiclient ,
397+ self .userapiclient ,
398398 self .testdata ["small" ],
399399 templateid = templateFromSnapshot .id ,
400400 accountid = self .account .name ,
@@ -497,7 +497,7 @@ def test_01_volume_snapshot(self):
497497 # Step 5
498498 # delete snapshot and deploy vm from snapshot
499499 vm_from_temp_2 = VirtualMachine .create (
500- self .apiclient ,
500+ self .userapiclient ,
501501 self .testdata ["small" ],
502502 templateid = templateFromSnapshot .id ,
503503 accountid = self .account .name ,
@@ -553,7 +553,7 @@ def test_01_volume_snapshot(self):
553553 )
554554
555555 vm_from_temp = VirtualMachine .create (
556- self .apiclient ,
556+ self .userapiclient ,
557557 self .testdata ["small" ],
558558 templateid = templateFromSnapshot .id ,
559559 accountid = self .account .name ,
@@ -605,7 +605,7 @@ def test_01_volume_snapshot(self):
605605 )
606606
607607 vm_from_temp = VirtualMachine .create (
608- self .apiclient ,
608+ self .userapiclient ,
609609 self .testdata ["small" ],
610610 templateid = templateFromSnapshot .id ,
611611 accountid = self .account .name ,
@@ -683,7 +683,7 @@ def test_01_volume_snapshot(self):
683683 )
684684
685685 vm_from_temp_2 = VirtualMachine .create (
686- self .apiclient ,
686+ self .userapiclient ,
687687 self .testdata ["small" ],
688688 templateid = templateFromSnapshot .id ,
689689 accountid = self .account .name ,
0 commit comments