Skip to content

Commit 40fc9ea

Browse files
committed
Reformat code
1 parent 3b4af6a commit 40fc9ea

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

terraform_pytest/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def clean_command():
6363
os.remove(os.path.join(TF_TEST_BINARY_PATH, file))
6464
logging.info("Done")
6565

66+
6667
@click.command(name="terratest-tests", help="Run Golang Terratest tests")
6768
def terratest_tests():
6869
logging.info(f"Running terratest tests from {TERRATEST_PROJECT_FOLDER} directory")
@@ -73,6 +74,7 @@ def terratest_tests():
7374
except Exception as e:
7475
logging.error(f"Failed to execute terratest tests: {str(e)}")
7576

77+
7678
if __name__ == "__main__":
7779
cli.add_command(build_command)
7880
cli.add_command(patch_command)

terraform_pytest/utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020

2121
def execute_command(
22-
cmd: List[str], env: Optional[Dict[str, str]] = None, cwd: Optional[str] = None
22+
cmd: List[str], env: Optional[Dict[str, str]] = None, cwd: Optional[str] = None
2323
) -> Tuple[int, str]:
2424
"""Execute a command and return the return code.
2525
@@ -57,7 +57,7 @@ def execute_command(
5757

5858

5959
def build_test_binary(
60-
service: str, tf_root_path: str, force_build: bool = False
60+
service: str, tf_root_path: str, force_build: bool = False
6161
) -> Tuple[int, str]:
6262
"""
6363
Build the test binary for a given service.
@@ -156,6 +156,7 @@ def patch_repository():
156156
if stdout:
157157
logging.info(f"{patch_file} has been patched successfully.")
158158

159+
159160
def run_terratest_tests(terratest_path: str) -> Tuple[int, str]:
160161
"""
161162
Run the Golang Terratest tests for the specified project.

0 commit comments

Comments
 (0)