deb-mistral/HACKING.rst
Sharat Sharma 8aedd496d6 Enforce style check for assertIsNone
The following checks is added in this commit:
* enforce assertIsNone instead of assertEqual with a None

Change-Id: Idc7c5cb53060dad544bb9b8659e7220b7cd41e56
Partial-Implements: blueprint mistral-hacking
2017-01-18 05:59:34 +00:00

286 B

Style Commandments

Read the OpenStack Style Commandments http://docs.openstack.org/developer/hacking/

Mistral Specific Commandments

  • [M318] Change assertEqual(A, None) or assertEqual(None, A) by optimal assert like assertIsNone(A)