[tor-bugs] #27053 [Core Tor/Stem]: Check controller's event error handling
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Aug 10 18:33:42 UTC 2018
#27053: Check controller's event error handling
---------------------------+------------------------
Reporter: atagar | Owner: atagar
Type: defect | Status: new
Priority: Very High | Milestone:
Component: Core Tor/Stem | Version:
Severity: Major | Resolution:
Keywords: controller | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
---------------------------+------------------------
Comment (by dmr):
Replying to [comment:4 dmr]:
> [...] and no failures in py27 //(yet, at least)//.
Spoke too soon...
{{{
======================================================================
FAIL: test_events_get_received
----------------------------------------------------------------------
Traceback (most recent call last):
File "/path/to/.tox/py27/local/lib/python2.7/site-
packages/mock/mock.py", line 1305, in patched
return func(*args, **keywargs)
File "/path/to/test/unit/control/controller.py", line 633, in
test_events_get_received
self.circ_listener.assert_called_once_with(CIRC_EVENT)
File "/path/to/.tox/py27/local/lib/python2.7/site-
packages/mock/mock.py", line 947, in assert_called_once_with
raise AssertionError(msg)
AssertionError: Expected 'mock' to be called once. Called 0 times.
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27053#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list