Skip to content

Commit

Permalink
chore(tests): Enable build in souce build command tests (#6099)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucashuy authored Oct 17, 2023
1 parent 1785a36 commit 9c9ea15
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/integration/buildcmd/test_build_in_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
LOG = logging.getLogger(__name__)


@skip("Building in source option is not exposed yet. Stop skipping once it is.")
class TestBuildCommand_BuildInSource_Makefile(BuildIntegProvidedBase):
template = "template.yaml"
is_nested_parent = False
Expand Down Expand Up @@ -50,9 +49,9 @@ def test_builds_successfully_with_makefile(self, build_in_source, new_file_shoul
)


@skip("Building in source option is not exposed yet. Stop skipping once it is.")
class TestBuildCommand_BuildInSource_Esbuild(BuildIntegEsbuildBase):
is_nested_parent = False
template = "template_with_metadata_esbuild.yaml"

def setUp(self):
super().setUp()
Expand All @@ -73,7 +72,6 @@ def tearDown(self):
)
@pytest.mark.flaky(reruns=3)
def test_builds_successfully_without_local_dependencies(self, build_in_source, dependencies_expected_in_source):
self.template_path = os.path.join(self.test_data_path, "template_with_metadata.yaml")
codeuri = os.path.join(self.test_data_path, "Esbuild", "Node")
self.source_directories = [codeuri]

Expand All @@ -92,7 +90,6 @@ def test_builds_successfully_without_local_dependencies(self, build_in_source, d

@pytest.mark.flaky(reruns=3)
def test_builds_successfully_with_local_dependency(self):
self.template_path = os.path.join(self.test_data_path, "template_with_metadata.yaml")
codeuri = os.path.join(self.test_data_path, "Esbuild", "NodeWithLocalDependency")
self.source_directories = [codeuri]
runtime = "nodejs16.x"
Expand Down

0 comments on commit 9c9ea15

Please sign in to comment.