def METHOD_NAME(self, extension):
    overrides = {"Runtime": "python3.8"}
    overridden_build_dir = f"override_{extension}"
    cmdlist = self.get_command_list(
        config_file=configs[extension], parameter_overrides=overrides, build_dir=overridden_build_dir
    )
    command_result = run_command(cmdlist, cwd=self.working_dir)
    stdout = str(command_result[1])
    stderr = str(command_result[2])
    self.assertEqual(command_result.process.returncode, 0, "Build should succeed")
    self.assertNotIn(
        f"Built Artifacts  : {extension}",
        stdout,
        f"Build template should not use build_dir from samconfig{extension}",
    )
    self.assertIn(
        f"Built Artifacts  : {overridden_build_dir}", stdout, f"Build template should use overridden build_dir"
    )
    self.assertIn("Starting Build use cache", stderr, f"'cache'=true should be set in samconfig{extension}")
    self.assertNotIn("python3.9", stderr, f"parameter_overrides runtime should not read from samconfig{extension}")
    self.assertIn(overrides["Runtime"], stderr, "parameter_overrides should use overridden runtime")
    self.assertNotIn("SomeURI", stderr, f"parameter_overrides should not read ANY values from samconfig{extension}")