Skip to content

Commit df366ca

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Add missing descriptions in HACKING.rst"
2 parents b542b53 + a85d052 commit df366ca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

HACKING.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ Nova Specific Commandments
7171
- [N367] Disallow aliasing the mock.Mock and similar classes in tests.
7272
- [N368] Reject if the mock.Mock class is used as a replacement value instead of and
7373
instance of a mock.Mock during patching in tests.
74+
- [N369] oslo_concurrency.lockutils.ReaderWriterLock() or
75+
fasteners.ReaderWriterLock() does not function correctly
76+
with eventlet patched code. Use nova.utils.ReaderWriterLock() instead.
77+
- [N370] Don't use or import six
78+
- [N371] You must explicitly import python's mock: ``from unittest import mock``
7479

7580
Creating Unit Tests
7681
-------------------

0 commit comments

Comments
 (0)