Add a hacking rule for useless assertions
Add a hacking rule for useless assertions in tests. [N365] Misuse of assertTrue/assertIsNone Change-Id: I3f76d57d75a266eddf7a4100c0b39fabe346e71c
This commit is contained in:
@@ -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
|
||||
-------------------
|
||||
|
||||
Reference in New Issue
Block a user