nova/nova/tests
Takashi Natsume 8d3c2ce92b Add a hacking rule for assert_has_calls
Add the following hacking rule.

* N366: The assert_has_calls is a method rather than a variable.

  Not correct: mock_method.assert_has_calls = [mock.call(0)]
  Correct:     mock_method.assert_has_calls([mock.call(0)])

This patch is a follow-up patch for
Id094dd90efde09b9a835d4492f4a92b8f8ad296e.

Change-Id: I892f8c23ee44f2b3518776a9705e3543f3115cae
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
2020-09-28 23:08:15 +09:00
..
functional Merge "libvirt: Bump MIN_{LIBVIRT,QEMU}_VERSION and NEXT_MIN_{LIBVIRT,QEMU}_VERSION" 2020-09-23 22:15:00 +00:00
unit Add a hacking rule for assert_has_calls 2020-09-28 23:08:15 +09:00
__init__.py
fixtures.py functional: Add and use 'GlanceFixture' 2020-09-16 11:31:23 +01:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00