Fix file exists asserts
assertTrue should have been assertThat Change-Id: I9b0685abc074525461c57df1d1d9afdf9d3bdd73
This commit is contained in:
parent
2b6339d875
commit
dc84c21e5f
|
@ -155,9 +155,9 @@ class HeatConfigTest(common.RunScriptTest):
|
|||
stdout_path, matchers.Not(matchers.FileExists()))
|
||||
continue
|
||||
|
||||
self.assertTrue(hook_path, matchers.FileExists())
|
||||
self.assertTrue(stdin_path, matchers.FileExists())
|
||||
self.assertTrue(stdout_path, matchers.FileExists())
|
||||
self.assertThat(hook_path, matchers.FileExists())
|
||||
self.assertThat(stdin_path, matchers.FileExists())
|
||||
self.assertThat(stdout_path, matchers.FileExists())
|
||||
|
||||
# parsed stdin should match the config item
|
||||
self.assertEqual(config,
|
||||
|
|
Loading…
Reference in New Issue