Remove bootstrap.cfg and references to it.

This commit is contained in:
amzn-sj
2021-05-19 13:57:35 -07:00
parent 6a108c0515
commit 268fd8b714
22 changed files with 52 additions and 598 deletions
+7 -9
View File
@@ -212,16 +212,15 @@ def test_create_link_error():
@pytest.mark.parametrize(
"project_path, asset_type, ensure_path, warn_on_missing, expected_result", [
pytest.param('Foo', 'pc', 'Foo/Cache/pc/bootstrap.cfg', False, 'Foo/Cache/pc'),
pytest.param('Foo', 'pc', 'dev/bootstrap.cfg', True, None),
pytest.param('Foo', 'pc', 'Foo/Cache/es3/bootstrap.cfg', True, None),
pytest.param('Foo', 'pc', 'dev/bootstrap.cfg', False, common.LmbrCmdError),
pytest.param('Foo', 'pc', 'Foo/Cache/es3/bootstrap.cfg', False, common.LmbrCmdError),
"project_path, asset_type, warn_on_missing, expected_result", [
pytest.param('Foo', 'pc', False, 'Foo/Cache/pc'),
pytest.param('Foo', 'pc', True, None),
pytest.param('Foo', 'pc', True, None),
pytest.param('Foo', 'pc', False, common.LmbrCmdError),
pytest.param('Foo', 'pc', False, common.LmbrCmdError),
]
)
def test_construct_and_validate_cache_game_asset_folder_success(tmpdir, project_path, asset_type, ensure_path, warn_on_missing, expected_result):
tmpdir.ensure(ensure_path)
def test_construct_and_validate_cache_game_asset_folder_success(tmpdir, project_path, asset_type, warn_on_missing, expected_result):
if isinstance(expected_result, str):
expected_path_realpath = str(tmpdir.join(expected_result).realpath())
elif expected_result == common.LmbrCmdError:
@@ -385,7 +384,6 @@ def test_sync_layout_non_vfs_success(tmpdir, mode, existing_game_link, existing_
old_remove_link = layout_tool.remove_link
try:
# Simple Test Parameters
tmpdir.ensure('engine-root/bootstrap.cfg')
engine_root_realpath = str(tmpdir.join('engine-root').realpath())
test_project_path = str(tmpdir.join('Foo').realpath())
test_project_name_lower = 'foo'