marion 4 jaren geleden
bovenliggende
commit
eef7bc6034
1 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 4 4
      test/json_test.py

+ 4 - 4
test/json_test.py

@@ -1,8 +1,8 @@
 import json
 a = [
-    dict(username="dev_1009048", password="e60be16cbfeebdb4d4c7dd7c0a6f2f67", nickname="", avatar=""),
-    dict(username="dev_1009049", password="e60be16cbfeebdb4d4c7dd7c0a6f2f67", nickname="", avatar=""),
-    dict(username="dev_1009050", password="e60be16cbfeebdb4d4c7dd7c0a6f2f67", nickname="", avatar="")
+    {'username': "dev_1009048", 'password': "e60be16cbfeebdb4d4c7dd7c0a6f2f67", 'nickname': "", 'avatar': ""},
+    {'username': "dev_1009049", 'password': "e60be16cbfeebdb4d4c7dd7c0a6f2f67", 'nickname': "", 'avatar': ""},
+    {'username': "dev_1009050", 'password': "e60be16cbfeebdb4d4c7dd7c0a6f2f67", 'nickname': "", 'avatar': ""}
 ]
 b = json.dumps(a)
-print(b)
+print(b)