Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Commit

Permalink
#14, #9: Make tests not depend on github.com
Browse files Browse the repository at this point in the history
  • Loading branch information
blackandred committed Jul 13, 2020
1 parent b6e39ea commit 69ac556
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/test_deployment_applytask.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ def test_functional_passes_structure_validation_after_using_update_command(self)

# Prepare configuration files first
self.prepare_valid_deployment_yml()
self.execute_task(UpdateFilesTask(),
update_task = UpdateFilesTask()
update_task.download_roles = lambda *args, **kwargs: None
self.execute_task(update_task,
args={
'--ask-vault-pass': False,
'--vault-passwords': ''
Expand Down Expand Up @@ -65,7 +67,9 @@ def test_functional_decrypts_encrypted_deployment_yml_file_on_startup(self):

# 0) Preparation of configuration files
self.prepare_valid_deployment_yml()
self.execute_task(UpdateFilesTask(),
update_task = UpdateFilesTask()
update_task.download_roles = lambda *args, **kwargs: None
self.execute_task(update_task,
args={
'--ask-vault-pass': False,
'--vault-passwords': ''
Expand Down

0 comments on commit 69ac556

Please sign in to comment.