Commits

Jason R. Coombs committed e61f99d

Adding test to capture #6

Comments (0)

Files changed (1)

irc/tests/test_client.py

 	server.connect('foo', 6667, 'bestnick')
 	with pytest.raises(ValueError):
 		server.privmsg('#best-channel', 'You are great\nSo are you')
+
+@mock.patch('irc.connection.socket')
+def test_connect_with_legacy_params(socket_mod):
+	server = irc.client.IRC().server()
+	server.connect('foo', 6667, 'bestnick', ssl=True)
+	import pytest; pytest.set_trace()