Add space between identifier and nick
mainly used in debug mode
This commit is contained in:
parent
992d35ec87
commit
11acf9f9b6
|
@ -132,4 +132,4 @@ class Client(object):
|
||||||
self.bans += 1
|
self.bans += 1
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return u'<{},{}>'.format(self.identifier, self.nick)
|
return u'<{}, {}>'.format(self.identifier, self.nick)
|
||||||
|
|
|
@ -30,10 +30,10 @@ def test_client_get(clients):
|
||||||
|
|
||||||
def test_client_repr(clients):
|
def test_client_repr(clients):
|
||||||
clients, _, _, _, _ = clients
|
clients, _, _, _, _ = clients
|
||||||
assert str(clients['1']) == '<1,None>'
|
assert str(clients['1']) == '<1, None>'
|
||||||
assert str(clients['2']) == '<2,None>'
|
assert str(clients['2']) == '<2, None>'
|
||||||
assert str(clients['UID1']) == '<UID1,None>'
|
assert str(clients['UID1']) == '<UID1, None>'
|
||||||
assert str(clients['UID2']) == '<UID2,None>'
|
assert str(clients['UID2']) == '<UID2, None>'
|
||||||
|
|
||||||
|
|
||||||
def test_clients_iter(clients):
|
def test_clients_iter(clients):
|
||||||
|
|
Loading…
Reference in New Issue