diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-02-09 08:26:06 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-02-09 08:26:06 +0000 |
| commit | 54f0d4eb858143b07df9a026088f0d4e02bfad87 (patch) | |
| tree | 95cc846f15d22a915e008e0f0623c2470855a558 /tests/unit | |
| parent | 1a21847271ebebfef0d8158eafbe4172b5c62c98 (diff) | |
| parent | bf1d46353edba3f6a46edf2bc96fb9452efeb9aa (diff) | |
| download | oslo-54f0d4eb858143b07df9a026088f0d4e02bfad87.tar.gz oslo-54f0d4eb858143b07df9a026088f0d4e02bfad87.tar.xz oslo-54f0d4eb858143b07df9a026088f0d4e02bfad87.zip | |
Merge "Split functions to avoid eventlet import."
Diffstat (limited to 'tests/unit')
| -rw-r--r-- | tests/unit/test_utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py index db1288f..45205e9 100644 --- a/tests/unit/test_utils.py +++ b/tests/unit/test_utils.py @@ -23,6 +23,7 @@ import mock from openstack.common import exception from openstack.common import utils +from openstack.common import setup class UtilsTest(unittest.TestCase): @@ -111,7 +112,7 @@ class UtilsTest(unittest.TestCase): string = 'Johnnie T. Hozer' mapping = {'T.': 'The'} self.assertEqual('Johnnie The Hozer', - utils.str_dict_replace(string, mapping)) + setup.str_dict_replace(string, mapping)) def test_utcnow(self): utils.set_time_override(mock.sentinel.utcnow) |
