]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
test/test_worker: fix test_prep_job teuth_config mocking 1672/head
authorKyr Shatskyy <kyrylo.shatskyy@suse.com>
Mon, 6 Sep 2021 12:36:55 +0000 (14:36 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@suse.com>
Mon, 6 Sep 2021 12:36:55 +0000 (14:36 +0200)
commit484ad8f402f18ad7ddd47554c8cf251adb4e126e
tree7b93ede3cdd5da44039f7a530b68365110bad400
parentdf69d6db9d68f5492f47c1dee57bca3b0a385796
test/test_worker: fix test_prep_job teuth_config mocking

When home directory contains .teuthology.yaml the test_prep_job
can pick unexpected values, like teuthology_path which makes
tests fail.

This fix overrides teuthology config to avoid unexpected behaviour.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
teuthology/test/test_worker.py