diff options
author | Rico Lin <rico.lin.guanyu@gmail.com> | 2015-06-25 10:09:51 +0800 |
---|---|---|
committer | Rico Lin <rico.lin.guanyu@gmail.com> | 2015-06-25 10:13:48 +0800 |
commit | 7c19add93cae1f75cc8a13614d4693c751aab81e (patch) | |
tree | 9fc74fd19029ef28d6ffc85aacb140bdcd786f08 /heat/tests/test_provider_template.py | |
parent | b4ae1aeefaa9c78958e16cd6a1325aee663ba688 (diff) | |
download | heat-7c19add93cae1f75cc8a13614d4693c751aab81e.tar.gz |
wrong argument order for assertEqual in test
wrong argument order for assertEqual(observed, expected) for test
Change-Id: I5e8b09533ae51ae72445269b974d1c01842d0335
Closes-Bug: #1468578
Diffstat (limited to 'heat/tests/test_provider_template.py')
-rw-r--r-- | heat/tests/test_provider_template.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/heat/tests/test_provider_template.py b/heat/tests/test_provider_template.py index c24ff869a..b475161af 100644 --- a/heat/tests/test_provider_template.py +++ b/heat/tests/test_provider_template.py @@ -856,7 +856,7 @@ class TemplateDataTest(common.HeatTestCase): self.res.get_template_file = mock.Mock( side_effect=exception.TemplateNotFound( message='test_resource.template')) - self.assertEqual(self.res.template_data(), '{}') + self.assertEqual('{}', self.res.template_data()) class TemplateResourceCrudTest(common.HeatTestCase): |