

def testCommonFlagsWithoutOptionalFlags(self):
    rack_resource = RackspaceResource(profile=None)
    cmd = util.RackCLICommand(rack_resource, 'servers', 'image', 'list')
    self.assertEqual(cmd._GetCommand(), ['path/rack', 'servers', 'image', 'list', '--output', 'json'])

dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/tests/providers/rackspace/util_test.py RackCLICommandTestCase.testCommonFlagsWithoutOptionalFlags/original