From ef923f7142b3d8ded6c9154808cb22cbea112d12 Mon Sep 17 00:00:00 2001 From: Wing Fung Lau <4760060+hawflau@users.noreply.github.com> Date: Mon, 29 Jul 2024 11:24:27 -0700 Subject: [PATCH] remove test files --- .../dotnet/test_build_invoke_dotnet7.py | 25 ------------------- .../unit_test/test_unit_test_dotnet7.py | 7 ------ 2 files changed, 32 deletions(-) delete mode 100644 tests/integration/build_invoke/dotnet/test_build_invoke_dotnet7.py delete mode 100644 tests/integration/unit_test/test_unit_test_dotnet7.py diff --git a/tests/integration/build_invoke/dotnet/test_build_invoke_dotnet7.py b/tests/integration/build_invoke/dotnet/test_build_invoke_dotnet7.py deleted file mode 100644 index efb38c19d..000000000 --- a/tests/integration/build_invoke/dotnet/test_build_invoke_dotnet7.py +++ /dev/null @@ -1,25 +0,0 @@ -from tests.integration.build_invoke.build_invoke_base import BuildInvokeBase - -""" -sam build does not support to build dotnetcore 3.1 templates using container, -here we put them in a separate file and use a dedicate codebuild project with .net 3.1 runtime to build them. - -For each template, it will test the following sam commands: -1. sam init -2. sam build --use-container (if self.use_container is False, --use-container will be omitted) -3. (if there are event jsons), for each event json, check `sam local invoke` response is a valid json -""" - - -class BuildInvoke_dotnet6_cookiecutter_aws_sam_hello_dotnet(BuildInvokeBase.DotNetCoreExtraRerunBuildInvokeBase): - use_container = False - directory = "dotnet7-aot/hello" - - - - -# -# Image templates -# - - diff --git a/tests/integration/unit_test/test_unit_test_dotnet7.py b/tests/integration/unit_test/test_unit_test_dotnet7.py deleted file mode 100644 index 236bbde56..000000000 --- a/tests/integration/unit_test/test_unit_test_dotnet7.py +++ /dev/null @@ -1,7 +0,0 @@ -# dotnet unit tests are executed from test directories, so code_directories point to test directories -from tests.integration.unit_test.unit_test_base import UnitTestBase - - -class UnitTest_dotnet6_cookiecutter_aws_sam_hello_dotnet(UnitTestBase.DotNetCoreUnitTestBase): - directory = "dotnet7-aot/hello" - code_directories = ["test/HelloWorld.Test"]