From 5693e90f9bb0f7eb724f44a5f44af4fbf6a5a508 Mon Sep 17 00:00:00 2001 From: melissaml Date: Sat, 21 Apr 2018 09:11:08 +0800 Subject: [PATCH] Trivial: Update pypi url to new url Pypi url changed from [1] to [2] [1] https://pypi.python.org/pypi/ [2] https://pypi.org/project/ Change-Id: I2051d173f99cbccc9386ce76ad6c1c8317377e4b --- doc/source/contributor/callbacks.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/contributor/callbacks.rst b/doc/source/contributor/callbacks.rst index 526dec9b9..b68c3a3c0 100644 --- a/doc/source/contributor/callbacks.rst +++ b/doc/source/contributor/callbacks.rst @@ -470,7 +470,7 @@ Any class use ``receives`` must be decorated with ``has_registry_receivers``. Testing with callbacks ---------------------- -A python `fixture `_ is provided for implementations that need to +A python `fixture `_ is provided for implementations that need to unit test and mock the callback registry. This can be used for example, when your code publishes callback events that you need to verify. Consumers can use ``neutron_lib.tests.unit.callbacks.base.CallbackRegistryFixture`` in their unit test classes with the ``useFixture()`` method passing along a ``CallbackRegistryFixture`` instance.