def METHOD_NAME(self, image):
    if image:
        expected_cmd = fake_container_cmd
    else:
        expected_cmd = [fake_binary]
    assert radosgw_zone.pre_generate_radosgw_cmd(image) == expected_cmd