Skip to content

Commit

Permalink
fix a typo in the args name
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa committed Aug 15, 2024
1 parent b1d53ec commit f5798d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ def main():
repo_manager = RepoManager(repo_url)
repo_manager.clone_repo_if_not_exist()

if "faas" in args.environments:
if "faas" in args.envs:
deploy_manager = DeployManager(project_path)
if deploy_manager.deploy_local_faas() == False:
logger.error("Error deploying the project, remove faas from the environments")
args.environments.remove("faas")
logger.error("Error deploying the project, remove faas from the envs")
args.envs.remove("faas")

test_runner = TestRunner(args.environments)
test_runner = TestRunner(args.envs)
test_runner.run_tests(test_suites)

if __name__ == "__main__":
Expand Down

0 comments on commit f5798d6

Please sign in to comment.