neutron/neutron/tests/unit/services/metering
Kevin Benton 3a871a73b8 Fix failures introduced by the new version of mock
This reverts commit 1b60df85ba.

The new version of mock is now released which has the fix to
make mock.patch.stopall behave deterministically. The code to
stop double-mocking is no longer required.

Other fixes:

'assert_has_calls' that have changed behavior in the new version
(no longer accepts single calls).

Calls to non-existent assert methods that did not exist and were
silently passing.

Use of autospec on a class with decorated functions.

Closes-Bug: #1473369
Change-Id: I164a9af2a7f9ac0f0229ec3c5071f7a470445c98
2015-07-09 17:54:32 -07:00
..
agents Fix failures introduced by the new version of mock 2015-07-09 17:54:32 -07:00
drivers Remove unused _uuid function alias from test_iptables.py 2015-05-31 14:52:51 -04:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
test_metering_plugin.py COMMON_PREFIXES cleanup - patch 1/5 2015-07-02 17:05:27 -07:00