oslo.service/doc/source
Eric Fried b85d9353fb Fixture to mock loopingcall wait()
Consumers of loopingcall may wish to exercise their code in test cases
without incurring actual wall clock sleep time in their test runs.
Heretofore, this required digging into the internals of the loopingcall
module and mocking something private (or something hidden by something
private).

This patch exposes a public oslo_service.fixture.SleepFixture for this
purpose. It can be maintained opaquely as internals change without
affecting its consumers.

See [1] for (one example of) the motivation behind this change.

[1] https://review.openstack.org/#/c/615724/

Change-Id: I0089c7778957456db66599abffaaad3a5332243c
2018-11-07 09:34:51 -06:00
..
configuration rearrange existing documentation to fit the new standard layout 2017-07-01 19:52:23 +09:00
contributor rearrange existing documentation to fit the new standard layout 2017-07-01 19:52:23 +09:00
install rearrange existing documentation to fit the new standard layout 2017-07-01 19:52:23 +09:00
reference Fixture to mock loopingcall wait() 2018-11-07 09:34:51 -06:00
user rearrange existing documentation to fit the new standard layout 2017-07-01 19:52:23 +09:00
conf.py Fixture to mock loopingcall wait() 2018-11-07 09:34:51 -06:00
index.rst rearrange existing documentation to fit the new standard layout 2017-07-01 19:52:23 +09:00