marion 4 lat temu
rodzic
commit
eef7bc6034
1 zmienionych plików z 4 dodań i 4 usunięć
  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)