Skip to content

Commit 11ff2ef

Browse files
committed
[tests] api call_count should be 1 for the trace
1 parent 6007e1a commit 11ff2ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def test_worker_single_service(self):
160160

161161
# expect a call for traces and services
162162
self._wait_thread_flush()
163-
eq_(self.api._put.call_count, 0)
163+
eq_(self.api._put.call_count, 1)
164164

165165
def test_worker_service_called_multiple_times(self):
166166
# service must be sent correctly
@@ -171,7 +171,7 @@ def test_worker_service_called_multiple_times(self):
171171

172172
# expect a call for traces and services
173173
self._wait_thread_flush()
174-
eq_(self.api._put.call_count, 0)
174+
eq_(self.api._put.call_count, 1)
175175

176176
def test_worker_http_error_logging(self):
177177
# Tests the logging http error logic

0 commit comments

Comments
 (0)