diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2016-03-24 08:51:01 -0300 |
---|---|---|
committer | Devan Goodwin <dgoodwin@redhat.com> | 2016-03-24 09:07:34 -0300 |
commit | 67d4685ef8885ff3ee759f5a36d9c97ba2012c50 (patch) | |
tree | fbb95c94f6197681cb24279f2ca782d01c90f403 /utils/test/fixture.py | |
parent | b1479e0f4c2ded50fc68a435b6271a5acbec10e4 (diff) | |
download | openshift-67d4685ef8885ff3ee759f5a36d9c97ba2012c50.tar.gz openshift-67d4685ef8885ff3ee759f5a36d9c97ba2012c50.tar.bz2 openshift-67d4685ef8885ff3ee759f5a36d9c97ba2012c50.tar.xz openshift-67d4685ef8885ff3ee759f5a36d9c97ba2012c50.zip |
Write inventory to same directory as quick install config.
With the addition of a --gen-inventory flag and always displaying the location
of the inventory written to disk, we should write the hosts file to a more
prominent location rather than a hidden directory.
Diffstat (limited to 'utils/test/fixture.py')
-rw-r--r-- | utils/test/fixture.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/test/fixture.py b/utils/test/fixture.py index eb94418c2..1657d8f46 100644 --- a/utils/test/fixture.py +++ b/utils/test/fixture.py @@ -68,7 +68,7 @@ class OOCliFixture(OOInstallFixture): def _verify_load_facts(self, load_facts_mock): """ Check that we ran load facts with expected inputs. """ load_facts_args = load_facts_mock.call_args[0] - self.assertEquals(os.path.join(self.work_dir, ".ansible/hosts"), + self.assertEquals(os.path.join(self.work_dir, "hosts"), load_facts_args[0]) self.assertEquals(os.path.join(self.work_dir, "playbooks/byo/openshift_facts.yml"), |