Skip to content

Commit 49d1d39

Browse files
committed
update numbering in comments
1 parent 1b6edf3 commit 49d1d39

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/integration/smoke/test_network_permissions.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -733,38 +733,38 @@ def test_04_deploy_vm_for_other_user_and_test_vm_operations(self):
733733
self.exec_command("self.user_apiclient", command, expected=False)
734734
self.exec_command("self.otheruser_apiclient", command, expected=True)
735735

736-
#22. Start VM before destroying, to recreate ROOT volume that was deleted as part of restore operation
736+
# 22. Start VM before destroying, to recreate ROOT volume that was deleted as part of restore operation
737737
command = """self.virtual_machine.start({apiclient})"""
738738
self.exec_command("self.user_apiclient", command, expected=False)
739739
self.exec_command("self.otheruser_apiclient", command, expected=True)
740740

741-
# 22. Destroy vm2, should succeed by vm owner
741+
# 23. Destroy vm2, should succeed by vm owner
742742
command = """self.virtual_machine.delete({apiclient}, expunge=False)"""
743743
self.exec_command("self.user_apiclient", command, expected=False)
744744
self.exec_command("self.otheruser_apiclient", command, expected=True)
745745

746-
# 23. Recover vm2, should succeed by vm owner
746+
# 24. Recover vm2, should succeed by vm owner
747747
allow_expunge_recover_vm = Configurations.list(self.apiclient, name="allow.user.expunge.recover.vm")[0].value
748748
self.logger.debug("Global configuration allow.user.expunge.recover.vm = %s", allow_expunge_recover_vm)
749749
if allow_expunge_recover_vm == "true":
750750
command = """self.virtual_machine.recover({apiclient})"""
751751
self.exec_command("self.user_apiclient", command, expected=False)
752752
self.exec_command("self.otheruser_apiclient", command, expected=True)
753753

754-
# 24. Destroy vm2, should succeed by vm owner
754+
# 25. Destroy vm2, should succeed by vm owner
755755
command = """self.virtual_machine.delete({apiclient}, expunge=False)"""
756756
self.exec_command("self.user_apiclient", command, expected=False)
757757
self.exec_command("self.otheruser_apiclient", command, expected=True)
758758

759-
# 25. Expunge vm2, should succeed by vm owner
759+
# 26. Expunge vm2, should succeed by vm owner
760760
if allow_expunge_recover_vm == "true":
761761
command = """self.virtual_machine.expunge({apiclient})"""
762762
self.exec_command("self.user_apiclient", command, expected=False)
763763
self.exec_command("self.otheruser_apiclient", command, expected=True)
764764
else:
765765
self.virtual_machine.expunge(self.apiclient)
766766

767-
# 26. Reset network permissions, should succeed by network owner
767+
# 27. Reset network permissions, should succeed by network owner
768768
command = """self.reset_network_permission({apiclient}, self.user_network, expected=True)"""
769769
self.exec_command("self.otheruser_apiclient", command, expected=False)
770770
self.exec_command("self.user_apiclient", command, expected=True)

0 commit comments

Comments
 (0)