Created
August 5, 2013 22:34
-
-
Save thomwiggers/6160221 to your computer and use it in GitHub Desktop.
mox testing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(twobot)thom@Lethe ~/git $ python -m unittest aeolus.irclib.test.server | |
F | |
====================================================================== | |
FAIL: testConnectEasy (aeolus.irclib.test.server.Server) | |
Tests connecting to a server | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "aeolus/irclib/test/server.py", line 38, in testConnectEasy | |
self.mox.VerifyAll() | |
File "/home/thom/pythonenvs/twobot/local/lib/python2.7/site-packages/mox.py", line 286, in VerifyAll | |
mock_obj._Verify() | |
File "/home/thom/pythonenvs/twobot/local/lib/python2.7/site-packages/mox.py", line 506, in _Verify | |
raise ExpectedMethodCallsError(self._expected_calls_queue) | |
ExpectedMethodCallsError: Verify: Expected methods never called: | |
0. <class 'socket._socketobject'>.create_connection(('testserver', 6667)) -> None | |
1. <class 'socket._socketobject'>.sendall('NICK thom\n') -> None | |
2. <class 'socket._socketobject'>.sendall('USER wiggers localhost testserver :je moeder\n') -> None | |
---------------------------------------------------------------------- | |
Ran 1 test in 0.001s | |
FAILED (failures=1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment