LYN-8935 Bundle Mode Test Update (#6606)

* Updating Bundle_Mode_Tests to replace level.pak for .spawnable

Signed-off-by: Rosario Cox <lesaelr@amazon.com>

* Removing old TestDependenciesLevel files and replacing for TestDepencenciesLevel.prefab

Signed-off-by: Rosario Cox <lesaelr@amazon.com>

* Adding missing file

Signed-off-by: Rosario Cox <lesaelr@amazon.com>
This commit is contained in:
LesaelR
2022-01-10 10:15:43 -08:00
committed by GitHub
parent 5c0ba0253d
commit 5aa7d56f1a
10 changed files with 557 additions and 398 deletions
@@ -23,12 +23,11 @@ from ..ap_fixtures.timeout_option_fixture import timeout_option_fixture as timeo
@pytest.mark.SUITE_periodic
@pytest.mark.parametrize('launcher_platform', ['windows_editor'])
@pytest.mark.parametrize('project', ['AutomatedTesting'])
@pytest.mark.parametrize('level', ['auto_test'])
@pytest.mark.parametrize('level', ['TestDependenciesLevel'])
class TestBundleMode(object):
def test_bundle_mode_with_levels_mounts_bundles_correctly(self, request, editor, level, launcher_platform,
asset_processor, workspace, bundler_batch_helper):
level_pak = os.path.join("levels", level, "level.pak")
level_pak = os.path.join("levels", level, "TestDependenciesLevel.spawnable")
bundles_folder = os.path.join(workspace.paths.project(), "Bundles")
bundle_request_path = os.path.join(bundles_folder, "bundle.pak")
bundle_result_path = os.path.join(bundles_folder,