change auth_test_data fixture
authorSofia Papagiannaki <papagian@gmail.com>
Thu, 26 Jan 2012 14:30:42 +0000 (16:30 +0200)
committerSofia Papagiannaki <papagian@gmail.com>
Thu, 26 Jan 2012 14:30:42 +0000 (16:30 +0200)
astakos/im/fixtures/auth_test_data.json

index fc44863..d8d1154 100644 (file)
 [
     {
-        "model": "im.AstakosUser",
-        "pk": 2,
+        "model": "auth.user",
+        "pk": 3,
         "fields": {
-            "username": "test",
-            "level": 0,
-            "invitations": 10000,
-            "password": "0000",
-            "auth_token": "0000",
-            "auth_token_created": "2011-04-07 09:17:14",
-            "auth_token_expires": "2015-04-07 09:17:14",
-            "updated": "2011-02-06"
-           }
+            "username": "verigak",
+            "password": "sha1$84fb5$d7d29831d42611a2ad56c136e4280fdc114539ff",
+            "is_superuser": 1
+        }
     },
     {
         "model": "im.AstakosUser",
         "pk": 3,
         "fields": {
-            "username": "verigak",
-            "level": 1,
-            "invitations": 3,
-            "is_superuser": 1,
-            "password": "0001",
+            "level": 0,
+            "invitations": 10000,
             "auth_token": "0001",
             "auth_token_created": "2011-04-07 09:17:14",
             "auth_token_expires": "2015-04-07 09:17:14",
             "updated": "2011-02-06"
-           }
+       }
     },
     {
-        "model": "im.AstakosUser",
+        "model": "auth.user",
         "pk": 4,
         "fields": {
             "username": "chazapis",
+            "password": "sha1$84fb5$d7d29831d42611a2ad56c136e4280fdc114539ff",
+            "is_superuser": 1
+        }
+    },
+    {
+        "model": "im.AstakosUser",
+        "pk": 4,
+        "fields": {
             "level": 1,
             "invitations": 3,
-            "password": "0002",
             "auth_token": "0002",
             "auth_token_created": "2011-04-07 09:17:14",
             "auth_token_expires": "2015-04-07 09:17:14",
             "updated": "2011-02-06"
-           }
+       }
     },
     {
-        "model": "im.AstakosUser",
+        "model": "auth.user",
         "pk": 5,
         "fields": {
             "username": "gtsouk",
+            "password": "sha1$84fb5$d7d29831d42611a2ad56c136e4280fdc114539ff"
+        }
+    },
+    {
+        "model": "im.AstakosUser",
+        "pk": 5,
+        "fields": {
             "level": 1,
             "invitations": 3,
-            "password": "0003",
             "auth_token": "0003",
             "auth_token_created": "2011-04-07 09:17:14",
             "auth_token_expires": "2015-04-07 09:17:14",
             "updated": "2011-02-06"
-           }
+       }
     },
     {
-        "model": "im.AstakosUser",
+        "model": "auth.user",
         "pk": 6,
         "fields": {
             "username": "papagian",
+            "password": "sha1$84fb5$d7d29831d42611a2ad56c136e4280fdc114539ff"
+        }
+    },
+    {
+        "model": "im.AstakosUser",
+        "pk": 6,
+        "fields": {
             "level": 1,
             "invitations": 3,
-            "password": "0004",
             "auth_token": "0004",
             "auth_token_created": "2011-04-07 09:17:14",
             "auth_token_expires": "2015-04-07 09:17:14",
             "updated": "2011-02-06"
-           }
+       }
     },
     {
-        "model": "im.AstakosUser",
+        "model": "auth.user",
         "pk": 7,
         "fields": {
             "username": "louridas",
+            "password": "sha1$84fb5$d7d29831d42611a2ad56c136e4280fdc114539ff"
+        }
+    },
+    {
+        "model": "im.AstakosUser",
+        "pk": 7,
+        "fields": {
             "level": 1,
             "invitations": 3,
-            "password": "0005",
             "auth_token": "0005",
             "auth_token_created": "2011-04-07 09:17:14",
             "auth_token_expires": "2015-04-07 09:17:14",
             "updated": "2011-02-06"
-           }
+       }
     },
     {
-        "model": "im.AstakosUser",
-        "pk": 8,
+        "model": "auth.user",
+        "pk": 7,
         "fields": {
             "username": "chstath",
+            "password": "sha1$84fb5$d7d29831d42611a2ad56c136e4280fdc114539ff"
+        }
+    },
+    {
+        "model": "im.AstakosUser",
+        "pk": 7,
+        "fields": {
             "level": 1,
             "invitations": 3,
-            "password": "0006",
             "auth_token": "0006",
             "auth_token_created": "2011-04-07 09:17:14",
             "auth_token_expires": "2015-04-07 09:17:14",
             "updated": "2011-02-06"
-           }
+       }
     },
     {
-        "model": "im.AstakosUser",
-        "pk": 9,
+        "model": "auth.user",
+        "pk": 8,
         "fields": {
             "username": "pkanavos",
+            "password": "sha1$84fb5$d7d29831d42611a2ad56c136e4280fdc114539ff"
+        }
+    },
+    {
+        "model": "im.AstakosUser",
+        "pk": 8,
+        "fields": {
             "level": 1,
             "invitations": 3,
-            "password": "0007",
             "auth_token": "0007",
             "auth_token_created": "2011-04-07 09:17:14",
             "auth_token_expires": "2015-04-07 09:17:14",
             "updated": "2011-02-06"
-           }
+       }
     },
     {
-        "model": "im.AstakosUser",
-        "pk": 10,
+        "model": "auth.user",
+        "pk": 8,
         "fields": {
             "username": "mvasilak",
+            "password": "sha1$84fb5$d7d29831d42611a2ad56c136e4280fdc114539ff"
+        }
+    },
+    {
+        "model": "im.AstakosUser",
+        "pk": 8,
+        "fields": {
             "level": 1,
             "invitations": 3,
-            "password": "0008",
             "auth_token": "0008",
             "auth_token_created": "2011-04-07 09:17:14",
             "auth_token_expires": "2015-04-07 09:17:14",
             "updated": "2011-02-06"
-           }
+       }
     },
     {
-        "model": "im.AstakosUser",
-        "pk": 11,
+        "model": "auth.user",
+        "pk": 9,
         "fields": {
             "username": "διογένης",
-            "level": 2,
-            "invitations": 2,
-            "password": "0009",
+            "password": "sha1$84fb5$d7d29831d42611a2ad56c136e4280fdc114539ff"
+        }
+    },
+    {
+        "model": "im.AstakosUser",
+        "pk": 9,
+        "fields": {
+            "level": 1,
+            "invitations": 3,
             "auth_token": "0009",
             "auth_token_created": "2011-04-07 09:17:14",
             "auth_token_expires": "2015-04-07 09:17:14",
             "updated": "2011-02-06"
-           }
+       }
     }
 ]