Skip to content

Commit

Permalink
stop creating '...' directory in production tests
Browse files Browse the repository at this point in the history
We don't clean this directory up, so it leaves cruft behind.
  • Loading branch information
escapewindow committed Aug 16, 2019
1 parent 7ebab9c commit c603b13
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scriptworker/test/test_production.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ def read_integration_creds():

def build_config(override, basedir):
config = get_unfrozen_copy(DEFAULT_CONFIG)
config.update({
'log_dir': os.path.join(basedir, "log"),
'base_artifact_dir': os.path.join(basedir, "artifact"),
'task_log_dir_template': os.path.join(basedir, "artifact", "public", "logs"),
'base_work_dir': os.path.join(basedir, "work"),
})
del(config['credentials'])
if isinstance(override, dict):
config.update(override)
Expand Down

0 comments on commit c603b13

Please sign in to comment.