def test_create_function_with_file(self):
        cmdline = self.prefix
        cmdline += ' --function-name myfunction --runtime myruntime'
        cmdline += ' --role myrole --handler myhandler'
        cmdline += self.zip_file % ' --zip-file fileb://%s'
        result = {
            'FunctionName': 'myfunction',
            'Runtime': 'myruntime',
            'Role': 'myrole',
            'Handler': 'myhandler',
            'Code': {'ZipFile': self.zip_file_contents}
        }
        self.assert_params_for_cmd(cmdline, result)
dataset/ETHPy150Open aws/aws-cli/tests/functional/awslambda/test_function.py/TestCreateFunction.test_create_function_with_file/swapped operands of `%`