marion %!s(int64=4) %!d(string=hai) anos
pai
achega
eef7bc6034
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  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)