|
@@ -2620,6 +2620,7 @@ class TC_00_VMs(AdminAPITestCase):
|
|
|
|
|
|
def test_992_dom0_unexpected_payload(self):
|
|
|
methods_with_no_payload = [
|
|
|
+ b'admin.deviceclass.List',
|
|
|
b'admin.vmclass.List',
|
|
|
b'admin.vm.List',
|
|
|
b'admin.label.List',
|
|
@@ -2661,6 +2662,7 @@ class TC_00_VMs(AdminAPITestCase):
|
|
|
|
|
|
def test_993_dom0_unexpected_argument(self):
|
|
|
methods_with_no_argument = [
|
|
|
+ b'admin.deviceclass.List',
|
|
|
b'admin.vmclass.List',
|
|
|
b'admin.vm.List',
|
|
|
b'admin.label.List',
|
|
@@ -2696,6 +2698,7 @@ class TC_00_VMs(AdminAPITestCase):
|
|
|
# TODO set some better arguments, to make sure the call was rejected
|
|
|
# because of invalid destination, not invalid arguments
|
|
|
methods_for_dom0_only = [
|
|
|
+ b'admin.deviceclass.List',
|
|
|
b'admin.vmclass.List',
|
|
|
b'admin.vm.Create.AppVM',
|
|
|
b'admin.vm.CreateInPool.AppVM',
|