Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
onegreyonewhite committed May 22, 2018
1 parent 46e2225 commit 403d88f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ variables:
GET_SOURCES_ATTEMPTS: 3
ARTIFACT_DOWNLOAD_ATTEMPTS: 3
RESTORE_CACHE_ATTEMPTS: 3
DJANGO_LOG_LEVEL: 'CRITICAL'

cache:
paths:
Expand Down
2 changes: 1 addition & 1 deletion polemarch/main/tests/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def create_inventory(self):
@patch('polemarch.main.utils.CmdExecutor.execute')
def test_execute_with_hostlist_comma(self, subprocess_function):
def side_effect(call_args, *args, **kwargs):
print(call_args, args, kwargs)
# print(call_args, args, kwargs)
return "Ok"

subprocess_function.side_effect = side_effect
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def load_requirements(file_name):
"polemarch.main.models.utils",
"polemarch.main.models.users",
"polemarch.main.models.vars",
"polemarch.main.tasks.tasks",
# "polemarch.main.tasks.tasks",
'polemarch.main.settings',
'polemarch.main.utils',
'polemarch.main.hooks.base',
Expand Down
2 changes: 1 addition & 1 deletion test_settings.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[main]
debug = true
log_level = INFO
log_level = DEBUG
projects_dir = /projects

[database]
Expand Down

0 comments on commit 403d88f

Please sign in to comment.