Fix file exists asserts

assertTrue should have been assertThat

Change-Id: I9b0685abc074525461c57df1d1d9afdf9d3bdd73
This commit is contained in:
Steve Baker 2014-12-11 11:01:23 +13:00 committed by Thomas Herve
parent a1d942e011
commit 3a830f7573
1 changed files with 3 additions and 3 deletions

View File

@ -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,