diff --git a/trove/common/utils.py b/trove/common/utils.py index 774cfc66cd..0cf2f90e1f 100644 --- a/trove/common/utils.py +++ b/trove/common/utils.py @@ -118,7 +118,7 @@ class cached_property(object): Taken from : https://github.com/nshah/python-memoize The function wrapped is called the first time to retrieve the result - and than that calculated result is used the next time you access + and then that calculated result is used the next time you access the value: class Foo(object): diff --git a/trove/tests/util/event_simulator.py b/trove/tests/util/event_simulator.py index 0458b51af8..d21254de04 100644 --- a/trove/tests/util/event_simulator.py +++ b/trove/tests/util/event_simulator.py @@ -29,12 +29,12 @@ Event Simulator Overview ======================== We use this to simulate all the threads of Trove running. -i.e (api,taskmanager,probocsis tests) All the services end +i.e. (api,taskmanager,proboscis tests). All the services end up sleeping and having to wait for something to happen at times. Monkey Patching Methods ----------------------- -We monkey patch a few method to make this happen. +We monkey patch a few methods to make this happen. A few sleep methods with a fake_sleep. * time.sleep