diff options
author | Takashi NATSUME <natsume.takashi@lab.ntt.co.jp> | 2019-08-21 14:36:25 +0900 |
---|---|---|
committer | Takashi NATSUME <natsume.takashi@lab.ntt.co.jp> | 2019-08-21 14:42:53 +0900 |
commit | 2967897fa08de7337fd007a57010a1829d8e7d2d (patch) | |
tree | 0af1d321b9630db7c875cb248e0fe7fe5afd9625 /HACKING.rst | |
parent | d4ed9ed93f91e2ffa43b563abdc5a3b90ab358a1 (diff) | |
download | nova-2967897fa08de7337fd007a57010a1829d8e7d2d.tar.gz |
Add a hacking rule for useless assertions
Add a hacking rule for useless assertions in tests.
[N365] Misuse of assertTrue/assertIsNone
Change-Id: I3f76d57d75a266eddf7a4100c0b39fabe346e71c
Diffstat (limited to 'HACKING.rst')
-rw-r--r-- | HACKING.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst index b5f20ffd19..e893d6dc56 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -75,6 +75,7 @@ Nova Specific Commandments calling is using priviledge escalation. - [N363] Disallow ``(not_a_tuple)`` because you meant ``(a_tuple_of_one,)``. - [N364] Check non-existent mock assertion methods and attributes. +- [N365] Check misuse of assertTrue/assertIsNone. Creating Unit Tests ------------------- |