diff options
author | James Socol <me@jamessocol.com> | 2014-01-03 01:37:57 -0500 |
---|---|---|
committer | James Socol <me@jamessocol.com> | 2014-01-03 01:38:49 -0500 |
commit | 0728fca8c1c9e307c9ab3d187a6a4f462b67024d (patch) | |
tree | a00502f83cdcb598154a5f85602357624ce8c5a4 | |
parent | 26302de5a9a2993ccc5a29953fbba4eb3a20d5fe (diff) | |
download | pystatsd-0728fca8c1c9e307c9ab3d187a6a4f462b67024d.tar.gz |
Rename some tests for clarity
-rw-r--r-- | statsd/tests.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/statsd/tests.py b/statsd/tests.py index 6c7d7ad..2ffd6b3 100644 --- a/statsd/tests.py +++ b/statsd/tests.py @@ -286,7 +286,7 @@ def test_timer_decorator_exceptions(): _timer_check(sc, 1, 'foo', 'ms') -def test_imperative_timer(): +def test_timer_object(): sc = _client() t = sc.timer('foo').start() @@ -295,7 +295,7 @@ def test_imperative_timer(): _timer_check(sc, 1, 'foo', 'ms') -def test_imperative_timer_no_send(): +def test_timer_object_no_send(): sc = _client() t = sc.timer('foo').start() @@ -307,7 +307,7 @@ def test_imperative_timer_no_send(): @mock.patch.object(random, 'random', lambda: -1) -def test_imperative_timer_rate(): +def test_timer_object_rate(): sc = _client() t = sc.timer('foo', rate=0.5) @@ -362,7 +362,7 @@ def test_pipeline_timer_decorator(): _timer_check(sc, 1, 'foo', 'ms') -def test_pipeline_timer_imperative(): +def test_pipeline_timer_object(): sc = _client() with sc.pipeline() as pipe: t = pipe.timer('foo').start() |