Skip to content

Commit 2b6ed3d

Browse files
committed
fixed tests
1 parent e52bea6 commit 2b6ed3d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

tests/conftest.py

Whitespace-only changes.

tests/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-e.[tests]

tests/test_timer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def test_timer_intermediate(self, mock_client):
137137
assert self.get_time(mock_client, 'timer6.extras') == 123.4, \
138138
'This test must execute within 2ms'
139139
timer6.stop()
140-
assert self.get_time(mock_client, 'timer6.total') == 246.8, \
140+
assert self.get_time(mock_client, 'timer6.total') == 370.2, \
141141
'This test must execute within 2ms'
142142

143143
timer7 = statsd.Timer('timer7')
@@ -146,7 +146,7 @@ def test_timer_intermediate(self, mock_client):
146146
assert self.get_time(mock_client, 'timer7.extras') == 123.4, \
147147
'This test must execute within 2ms'
148148
timer7.stop('test')
149-
assert self.get_time(mock_client, 'timer7.test') == 246.8, \
149+
assert self.get_time(mock_client, 'timer7.test') == 370.2, \
150150
'This test must execute within 2ms'
151151

152152

0 commit comments

Comments
 (0)