commit | d4e69163c4658492ce2f1948ae69df9cccc2906f | [log] [tgz] |
---|---|---|
author | Luong Anh Tuan <tuanla@vn.fujitsu.com> | Mon Aug 22 12:45:22 2016 +0700 |
committer | Luong Anh Tuan <tuanla@vn.fujitsu.com> | Mon Aug 22 12:45:22 2016 +0700 |
tree | c648a6aebd413d2a8f596f010b4cd2b99bbf647b | |
parent | 6f3a8a0884501172429491c65916084f6931756e [diff] |
Using assertIsNone() is preferred over assertEqual() Following OpenStack Style Guidelines[1]. [H203] Unit test assertions tend to give better messages for more specific assertions. As a result, assertIsNone(...) is preferred over assertEqual(None, ...) [1] http://docs.openstack.org/developer/hacking/#dictionaries-lists Change-Id: I46681aad0e7bae5c4b1f62db7987da24f516613d