Skip to content

Commit

Permalink
Fix integ test
Browse files Browse the repository at this point in the history
  • Loading branch information
aahung committed Jul 14, 2021
1 parent 55d9dcd commit 300a33b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/integration/pipeline/test_init_command.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from pathlib import Path

from samcli.commands.pipeline.bootstrap.cli import PIPELINE_CONFIG_DIR, PIPELINE_CONFIG_FILENAME
from tests.integration.pipeline.base import InitIntegBase
from tests.testing_utils import run_command_with_inputs

Expand Down Expand Up @@ -31,6 +32,10 @@ class TestInit(InitIntegBase):
Here we use Jenkins template for testing
"""

def setUp(self) -> None:
# make sure there is no pipelineconfig.toml, otherwise the autofill could affect the question flow
Path(PIPELINE_CONFIG_DIR, PIPELINE_CONFIG_FILENAME).unlink(missing_ok=True)

def test_quick_start(self):
generated_jenkinsfile_path = Path("Jenkinsfile")
self.generated_files.append(generated_jenkinsfile_path)
Expand Down

0 comments on commit 300a33b

Please sign in to comment.