mirror of
https://github.com/enpaul/keyosk.git
synced 2024-11-05 06:07:06 +00:00
13 lines
286 B
Python
13 lines
286 B
Python
import json
|
|
|
|
import peewee
|
|
from fixtures import demo_database
|
|
|
|
from keyosk import database
|
|
|
|
|
|
def test_formatting(demo_database):
|
|
for acl in database.AccountACLEntry.select():
|
|
assert dict(acl) == json.loads(json.dumps(dict(acl)))
|
|
assert str(acl.uuid) not in str(acl)
|