summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-15 07:17:50 +0000
committerGerrit Code Review <review@openstack.org>2017-06-15 07:17:50 +0000
commit2983962fb70cbe78b3ef4901fd1e61d63f9e8e22 (patch)
tree2c9b0a230da1f8ef5e86005da63fa5f29352de3e
parent92d391fffc83e56f59b5d92659fcc7a40ee36cdb (diff)
parentcf3a867872cae5caaf7104476cf948c6abedb67f (diff)
Merge "Fix a few typos"
-rw-r--r--trove/common/utils.py2
-rw-r--r--trove/tests/util/event_simulator.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/trove/common/utils.py b/trove/common/utils.py
index 774cfc6..0cf2f90 100644
--- a/trove/common/utils.py
+++ b/trove/common/utils.py
@@ -118,7 +118,7 @@ class cached_property(object):
118 118
119 Taken from : https://github.com/nshah/python-memoize 119 Taken from : https://github.com/nshah/python-memoize
120 The function wrapped is called the first time to retrieve the result 120 The function wrapped is called the first time to retrieve the result
121 and than that calculated result is used the next time you access 121 and then that calculated result is used the next time you access
122 the value: 122 the value:
123 123
124 class Foo(object): 124 class Foo(object):
diff --git a/trove/tests/util/event_simulator.py b/trove/tests/util/event_simulator.py
index 0458b51..d21254d 100644
--- a/trove/tests/util/event_simulator.py
+++ b/trove/tests/util/event_simulator.py
@@ -29,12 +29,12 @@ Event Simulator Overview
29======================== 29========================
30 30
31We use this to simulate all the threads of Trove running. 31We use this to simulate all the threads of Trove running.
32i.e (api,taskmanager,probocsis tests) All the services end 32i.e. (api,taskmanager,proboscis tests). All the services end
33up sleeping and having to wait for something to happen at times. 33up sleeping and having to wait for something to happen at times.
34 34
35Monkey Patching Methods 35Monkey Patching Methods
36----------------------- 36-----------------------
37We monkey patch a few method to make this happen. 37We monkey patch a few methods to make this happen.
38 38
39A few sleep methods with a fake_sleep. 39A few sleep methods with a fake_sleep.
40* time.sleep 40* time.sleep