modify ident_map_tests to match real json

This commit is contained in:
Thor77 2015-07-31 22:53:09 +02:00
parent 6448cc60f0
commit b99b86f4fd
1 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
from tsstats import Clients, Client
ident_map = {
1: 2,
5: 2,
'1': '2',
'5': '2',
'UID1': 'UID2',
'UID5': 'UID2'
}
@ -10,8 +10,8 @@ clients = Clients(ident_map)
def test_get_id():
assert clients[1].identifier == 2
assert clients[5].identifier == 2
assert clients['1'].identifier == '2'
assert clients['5'].identifier == '2'
def test_get_uid():