Commit 2b823aecdd4a3018020bf12da7e53375a8d882d7

Authored by Macartur Sousa
1 parent a322a0b8
Exists in master and in 79 other branches add_sisp_to_chef, add_super_archives_plugin, api_for_colab, automates_core_packing, backup_not_prod, changes_in_buttons_on_content_panel, colab_automated_login, colab_spb_plugin_recipe, colab_widgets_settings, design_validation, dev_env_minimal, disable_email_dev, fix_breadcrumbs_position, fix_categories_software_link, fix_edit_institution, fix_edit_software_with_another_license, fix_get_license_info, fix_gitlab_assets_permission, fix_list_style_inside_article, fix_list_style_on_folder_elements, fix_members_pagination, fix_merge_request_url, fix_models_translations, fix_no_license, fix_software_api, fix_software_block_migration, fix_software_communities_translations, fix_software_communities_unit_test, fix_style_create_institution_admin_panel, fix_superarchives_imports, fix_sym_links_noosfero, focus_search_field_theme, gov-user-refactoring, gov-user-refactoring-rails4, header_fix, institution_modal_on_rating, kalibro-conf-refactoring, kalibro-processor-package, lxc_settings, margin_fix, mezuro_cookbook, prezento, refactor_download_block, refactor_software_communities, refactor_software_for_sisp, register_page, release-process, release-process-v2, remove-unused-images, remove_broken_theme, remove_secondary_email_from_user, remove_sisp_buttons, removing_super_archives_email, review_message, scope2method, signals_user_noosfero, sisp_catalog_header, sisp_colab_config, sisp_dev, sisp_dev_master, sisp_simple_version, software_as_organization, software_catalog_style_fix, software_communities_html_refactor, software_infos_api, spb_minimal_env, spb_to_rails4, spec_refactor, stable-4.1, stable-4.2, stable-4.x, temp_soft_comm_refactoring, theme_header, theme_javascript_refactory, thread_dropdown, thread_page, update_search_by_categories, update_software_api, update_softwares_boxes

Added json file to tests

colab_spb/fixtures/test_colab_spb.json 0 → 100644
@@ -0,0 +1,383 @@ @@ -0,0 +1,383 @@
  1 +[
  2 +{
  3 + "fields": {
  4 + "logo": "",
  5 + "description": "",
  6 + "last_imported_index": 0,
  7 + "name": "ListA",
  8 + "email": "listA@example.com"
  9 + },
  10 + "model": "super_archives.mailinglist",
  11 + "pk": 1
  12 +},
  13 +{
  14 + "fields": {
  15 + "logo": "",
  16 + "description": "",
  17 + "last_imported_index": 0,
  18 + "name": "ListB",
  19 + "email": "listB@example.com"
  20 + },
  21 + "model": "super_archives.mailinglist",
  22 + "pk": 2
  23 +},
  24 +{
  25 + "fields": {
  26 + "logo": "",
  27 + "description": "",
  28 + "last_imported_index": 0,
  29 + "name": "ListC",
  30 + "email": "listC@example.com"
  31 + },
  32 + "model": "super_archives.mailinglist",
  33 + "pk": 3
  34 +},
  35 +{
  36 + "fields": {
  37 + "spam": false,
  38 + "subject_token": "Thread_1_on_List_A",
  39 + "mailinglist": 1,
  40 + "score": 31,
  41 + "latest_message": 3
  42 + },
  43 + "model": "super_archives.thread",
  44 + "pk": 1
  45 +},
  46 +{
  47 + "fields": {
  48 + "spam": false,
  49 + "subject_token": "Thread_1_on_List_B",
  50 + "mailinglist": 2,
  51 + "score": 0,
  52 + "latest_message": 4
  53 + },
  54 + "model": "super_archives.thread",
  55 + "pk": 3
  56 +},
  57 +{
  58 + "fields": {
  59 + "spam": false,
  60 + "subject_token": "Thread_1_on_List_C",
  61 + "mailinglist": 3,
  62 + "score": 0,
  63 + "latest_message": 5
  64 + },
  65 + "model": "super_archives.thread",
  66 + "pk": 4
  67 +},
  68 +{
  69 + "fields": {
  70 + "spam": false,
  71 + "subject_token": "Thread_2_on_List_A",
  72 + "mailinglist": 1,
  73 + "score": 0,
  74 + "latest_message": 6
  75 + },
  76 + "model": "super_archives.thread",
  77 + "pk": 5
  78 +},
  79 +{
  80 + "fields": {
  81 + "spam": false,
  82 + "subject_token": "Thread_3_on_List_A",
  83 + "mailinglist": 1,
  84 + "score": 0,
  85 + "latest_message": 7
  86 + },
  87 + "model": "super_archives.thread",
  88 + "pk": 6
  89 +},
  90 +{
  91 + "fields": {
  92 + "spam": false,
  93 + "subject_token": "Thread_4_on_List_A",
  94 + "mailinglist": 1,
  95 + "score": 0,
  96 + "latest_message": 8
  97 + },
  98 + "model": "super_archives.thread",
  99 + "pk": 7
  100 +},
  101 +{
  102 + "fields": {
  103 + "spam": false,
  104 + "subject_token": "Thread_5_on_List_A",
  105 + "mailinglist": 1,
  106 + "score": 0,
  107 + "latest_message": 9
  108 + },
  109 + "model": "super_archives.thread",
  110 + "pk": 8
  111 +},
  112 +{
  113 + "fields": {
  114 + "spam": false,
  115 + "subject_token": "Thread_6_on_List_A",
  116 + "mailinglist": 1,
  117 + "score": 0,
  118 + "latest_message": 10
  119 + },
  120 + "model": "super_archives.thread",
  121 + "pk": 9
  122 +},
  123 +{
  124 + "fields": {
  125 + "spam": false,
  126 + "subject_token": "Thread_7_on_List_A",
  127 + "mailinglist": 1,
  128 + "score": 0,
  129 + "latest_message": 11
  130 + },
  131 + "model": "super_archives.thread",
  132 + "pk": 10
  133 +},
  134 +{
  135 + "fields": {
  136 + "spam": false,
  137 + "subject_token": "Thread_8_on_List_A",
  138 + "mailinglist": 1,
  139 + "score": 0,
  140 + "latest_message": 12
  141 + },
  142 + "model": "super_archives.thread",
  143 + "pk": 11
  144 +},
  145 +{
  146 + "fields": {
  147 + "body": "This is a repply to Thread 1 on list A",
  148 + "received_time": "2015-01-28T12:43:00.752Z",
  149 + "from_address": 1,
  150 + "thread": 1,
  151 + "spam": false,
  152 + "subject_clean": "Response to Thread 1A",
  153 + "message_id": "mt1a",
  154 + "subject": "Response to Thread 1A"
  155 + },
  156 + "model": "super_archives.message",
  157 + "pk": 3
  158 +},
  159 +{
  160 + "fields": {
  161 + "body": "This is a repply to Thread 2 on list A",
  162 + "received_time": "2015-01-28T12:43:00.752Z",
  163 + "from_address": 1,
  164 + "thread": 5,
  165 + "spam": false,
  166 + "subject_clean": "Response to Thread 2A",
  167 + "message_id": "mt2a",
  168 + "subject": "Response to Thread 2A"
  169 + },
  170 + "model": "super_archives.message",
  171 + "pk": 6
  172 +},
  173 +{
  174 + "fields": {
  175 + "body": "This is a repply to Thread 3 on list A",
  176 + "received_time": "2015-01-28T12:43:00.752Z",
  177 + "from_address": 1,
  178 + "thread": 6,
  179 + "spam": false,
  180 + "subject_clean": "Response to Thread 3A",
  181 + "message_id": "mt3a",
  182 + "subject": "Response to Thread 3A"
  183 + },
  184 + "model": "super_archives.message",
  185 + "pk": 7
  186 +},
  187 +{
  188 + "fields": {
  189 + "body": "This is a repply to Thread 4 on list A",
  190 + "received_time": "2015-01-28T12:43:00.752Z",
  191 + "from_address": 1,
  192 + "thread": 7,
  193 + "spam": false,
  194 + "subject_clean": "Response to Thread 4A",
  195 + "message_id": "mt4a",
  196 + "subject": "Response to Thread 4A"
  197 + },
  198 + "model": "super_archives.message",
  199 + "pk": 8
  200 +},
  201 +{
  202 + "fields": {
  203 + "body": "This is a repply to Thread 5 on list A",
  204 + "received_time": "2015-01-28T12:43:00.752Z",
  205 + "from_address": 1,
  206 + "thread": 8,
  207 + "spam": false,
  208 + "subject_clean": "Response to Thread 5A",
  209 + "message_id": "mt5a",
  210 + "subject": "Response to Thread 5A"
  211 + },
  212 + "model": "super_archives.message",
  213 + "pk": 9
  214 +},
  215 +{
  216 + "fields": {
  217 + "body": "This is a repply to Thread 6 on list A",
  218 + "received_time": "2015-01-28T12:43:00.752Z",
  219 + "from_address": 1,
  220 + "thread": 9,
  221 + "spam": false,
  222 + "subject_clean": "Response to Thread 6A",
  223 + "message_id": "mt6a",
  224 + "subject": "Response to Thread 6A"
  225 + },
  226 + "model": "super_archives.message",
  227 + "pk": 10
  228 +},
  229 +{
  230 + "fields": {
  231 + "body": "This is a repply to Thread 7 on list A",
  232 + "received_time": "2015-01-28T12:43:00.752Z",
  233 + "from_address": 1,
  234 + "thread": 10,
  235 + "spam": false,
  236 + "subject_clean": "Response to Thread 7A",
  237 + "message_id": "mt7a",
  238 + "subject": "Response to Thread 7A"
  239 + },
  240 + "model": "super_archives.message",
  241 + "pk": 11
  242 +},
  243 +{
  244 + "fields": {
  245 + "body": "This is a repply to Thread 8 on list A",
  246 + "received_time": "2015-01-28T12:43:00.752Z",
  247 + "from_address": 1,
  248 + "thread": 11,
  249 + "spam": false,
  250 + "subject_clean": "Response to Thread 8A",
  251 + "message_id": "mt8a",
  252 + "subject": "Response to Thread 8A"
  253 + },
  254 + "model": "super_archives.message",
  255 + "pk": 12
  256 +},
  257 +{
  258 + "fields": {
  259 + "body": "This is a repply to Thread 1 on list B",
  260 + "received_time": "2015-01-28T12:57:22.180Z",
  261 + "from_address": 1,
  262 + "thread": 3,
  263 + "spam": false,
  264 + "subject_clean": "Message 1 on Thread 1B",
  265 + "message_id": "",
  266 + "subject": "Message 1 on Thread 1B"
  267 + },
  268 + "model": "super_archives.message",
  269 + "pk": 4
  270 +},
  271 +{
  272 + "fields": {
  273 + "body": "This is a repply to Thread 1 on list C",
  274 + "received_time": "2015-01-28T13:02:12.903Z",
  275 + "from_address": 1,
  276 + "thread": 4,
  277 + "spam": false,
  278 + "subject_clean": "Message 1 on Thread 1C",
  279 + "message_id": "",
  280 + "subject": "Message 1 on Thread 1C"
  281 + },
  282 + "model": "super_archives.message",
  283 + "pk": 5
  284 +},
  285 +{
  286 + "fields": {
  287 + "last_name": "Administrator",
  288 + "webpage": "",
  289 + "twitter": "",
  290 + "is_staff": true,
  291 + "user_permissions": [],
  292 + "date_joined": "2015-01-28T12:34:58.770Z",
  293 + "google_talk": "",
  294 + "first_name": "Admin",
  295 + "is_superuser": true,
  296 + "last_login": "2015-01-28T12:35:39.621Z",
  297 + "verification_hash": null,
  298 + "role": "",
  299 + "email": "admin@mail.com",
  300 + "username": "admin",
  301 + "bio": "",
  302 + "needs_update": true,
  303 + "is_active": true,
  304 + "facebook": "",
  305 + "groups": [],
  306 + "password": "pbkdf2_sha256$12000$iiKCMnLZnFJw$UTx89LB8oYTiw9UqkcglzFLmIaZtbr+ZzF1cG3vfcyo=",
  307 + "institution": "",
  308 + "github": "",
  309 + "modified": "2015-01-28T12:45:27.375Z"
  310 + },
  311 + "model": "accounts.user",
  312 + "pk": 1
  313 +},
  314 +{
  315 + "fields": {
  316 + "last_name": "Norris",
  317 + "webpage": "",
  318 + "twitter": "",
  319 + "is_staff": true,
  320 + "user_permissions": [],
  321 + "date_joined": "2015-01-28T12:34:58.770Z",
  322 + "google_talk": "",
  323 + "first_name": "Chuck",
  324 + "is_superuser": true,
  325 + "last_login": "2015-01-28T12:35:39.621Z",
  326 + "verification_hash": null,
  327 + "role": "",
  328 + "email": "chucknorris@mail.com",
  329 + "username": "chucknorris",
  330 + "bio": "",
  331 + "needs_update": true,
  332 + "is_active": true,
  333 + "facebook": "",
  334 + "groups": [],
  335 + "password": "pbkdf2_sha256$12000$iiKCMnLZnFJw$UTx89LB8oYTiw9UqkcglzFLmIaZtbr+ZzF1cG3vfcyo=",
  336 + "institution": "",
  337 + "github": "",
  338 + "modified": "2015-01-28T12:45:27.375Z"
  339 + },
  340 + "model": "accounts.user",
  341 + "pk": 2
  342 +},
  343 +
  344 +{
  345 + "fields": {
  346 + "last_name": "Norris",
  347 + "webpage": "",
  348 + "twitter": "",
  349 + "is_staff": true,
  350 + "user_permissions": [],
  351 + "date_joined": "2015-01-28T12:34:58.770Z",
  352 + "google_talk": "",
  353 + "first_name": "Heisenberg",
  354 + "is_superuser": true,
  355 + "last_login": "2015-01-28T12:35:39.621Z",
  356 + "verification_hash": null,
  357 + "role": "",
  358 + "email": "heisenberg@mail.com",
  359 + "username": "heisenbergnorris",
  360 + "bio": "",
  361 + "needs_update": true,
  362 + "is_active": true,
  363 + "facebook": "",
  364 + "groups": [],
  365 + "password": "pbkdf2_sha256$12000$iiKCMnLZnFJw$UTx89LB8oYTiw9UqkcglzFLmIaZtbr+ZzF1cG3vfcyo=",
  366 + "institution": "",
  367 + "github": "",
  368 + "modified": "2015-01-28T12:45:27.375Z"
  369 + },
  370 + "model": "accounts.user",
  371 + "pk": 3
  372 +},
  373 +{
  374 + "fields": {
  375 + "real_name": "Administrator",
  376 + "user": 1,
  377 + "md5": "edb0e96701c209ab4b50211c856c50c4",
  378 + "address": "admin@mail.com"
  379 + },
  380 + "model": "super_archives.emailaddress",
  381 + "pk": 1
  382 +}
  383 +]
colab_spb/fixtures/test_data.json
@@ -1,368 +0,0 @@ @@ -1,368 +0,0 @@
1 -[  
2 -{  
3 - "fields": {  
4 - "description": "List A description.",  
5 - "email": "listA@example.com",  
6 - "logo": "",  
7 - "last_imported_index": 0,  
8 - "is_private": false,  
9 - "name": "ListA"  
10 - },  
11 - "model": "super_archives.mailinglist",  
12 - "pk": 1  
13 -},  
14 -{  
15 - "fields": {  
16 - "description": "List B description.",  
17 - "email": "listB@example.com",  
18 - "logo": "",  
19 - "last_imported_index": 0,  
20 - "is_private": false,  
21 - "name": "ListB"  
22 - },  
23 - "model": "super_archives.mailinglist",  
24 - "pk": 2  
25 -},  
26 -{  
27 - "fields": {  
28 - "description": "List C description",  
29 - "email": "listC@example.com",  
30 - "logo": "",  
31 - "last_imported_index": 0,  
32 - "is_private": false,  
33 - "name": "ListC"  
34 - },  
35 - "model": "super_archives.mailinglist",  
36 - "pk": 3  
37 -},  
38 -{  
39 - "fields": {  
40 - "spam": false,  
41 - "subject_token": "Thread_1_on_List_A",  
42 - "mailinglist": 1,  
43 - "score": 31,  
44 - "latest_message": 3  
45 - },  
46 - "model": "super_archives.thread",  
47 - "pk": 1  
48 -},  
49 -{  
50 - "fields": {  
51 - "spam": false,  
52 - "subject_token": "Thread_1_on_List_B",  
53 - "mailinglist": 2,  
54 - "score": 0,  
55 - "latest_message": 4  
56 - },  
57 - "model": "super_archives.thread",  
58 - "pk": 3  
59 -},  
60 -{  
61 - "fields": {  
62 - "spam": false,  
63 - "subject_token": "Thread_1_on_List_C",  
64 - "mailinglist": 3,  
65 - "score": 0,  
66 - "latest_message": 8  
67 - },  
68 - "model": "super_archives.thread",  
69 - "pk": 4  
70 -},  
71 -{  
72 - "fields": {  
73 - "spam": false,  
74 - "subject_token": "Thread_2_on_List_A ",  
75 - "mailinglist": 1,  
76 - "score": 24,  
77 - "latest_message": null  
78 - },  
79 - "model": "super_archives.thread",  
80 - "pk": 5  
81 -},  
82 -{  
83 - "fields": {  
84 - "spam": false,  
85 - "subject_token": "Thread_3_on_List_A ",  
86 - "mailinglist": 1,  
87 - "score": 24,  
88 - "latest_message": null  
89 - },  
90 - "model": "super_archives.thread",  
91 - "pk": 6  
92 -},  
93 -{  
94 - "fields": {  
95 - "spam": false,  
96 - "subject_token": "Thread_4_on_List_A ",  
97 - "mailinglist": 1,  
98 - "score": 24,  
99 - "latest_message": null  
100 - },  
101 - "model": "super_archives.thread",  
102 - "pk": 7  
103 -},  
104 -{  
105 - "fields": {  
106 - "spam": false,  
107 - "subject_token": "Thread_5_on_List_A ",  
108 - "mailinglist": 1,  
109 - "score": 24,  
110 - "latest_message": null  
111 - },  
112 - "model": "super_archives.thread",  
113 - "pk": 8  
114 -},  
115 -{  
116 - "fields": {  
117 - "spam": false,  
118 - "subject_token": "Thread_6_on_List_A ",  
119 - "mailinglist": 1,  
120 - "score": 24,  
121 - "latest_message": null  
122 - },  
123 - "model": "super_archives.thread",  
124 - "pk": 9  
125 -},  
126 -{  
127 - "fields": {  
128 - "spam": false,  
129 - "subject_token": "Thread_7_on_List_A ",  
130 - "mailinglist": 1,  
131 - "score": 24,  
132 - "latest_message": null  
133 - },  
134 - "model": "super_archives.thread",  
135 - "pk": 10  
136 -},  
137 -{  
138 - "fields": {  
139 - "spam": false,  
140 - "subject_token": "Thread_8_on_List_A ",  
141 - "mailinglist": 1,  
142 - "score": 24,  
143 - "latest_message": null  
144 - },  
145 - "model": "super_archives.thread",  
146 - "pk": 11  
147 -},  
148 -{  
149 - "fields": {  
150 - "body": "This is a repply to Thread 1 on list A",  
151 - "received_time": "2015-01-28T12:43:00.752Z",  
152 - "from_address": 1,  
153 - "thread": 1,  
154 - "spam": false,  
155 - "subject_clean": "Response to Thread 1A",  
156 - "message_id": "response_t1a",  
157 - "subject": "Response to Thread 1A"  
158 - },  
159 - "model": "super_archives.message",  
160 - "pk": 3  
161 -},  
162 -{  
163 - "fields": {  
164 - "body": "This is a repply to Thread 1 on list B",  
165 - "received_time": "2015-01-28T12:57:22.180Z",  
166 - "from_address": 1,  
167 - "thread": 3,  
168 - "spam": false,  
169 - "subject_clean": "Response to Thread 1B",  
170 - "message_id": "response_t1b",  
171 - "subject": "Message 1 on Thread 1B"  
172 - },  
173 - "model": "super_archives.message",  
174 - "pk": 4  
175 -},  
176 -{  
177 - "fields": {  
178 - "body": "This is a repply to Thread 1 on list C",  
179 - "received_time": "2015-01-28T13:02:12.903Z",  
180 - "from_address": 1,  
181 - "thread": 4,  
182 - "spam": false,  
183 - "subject_clean": "Response to Thread 1C",  
184 - "message_id": "response_1t1c",  
185 - "subject": "Message 1 on Thread 1C"  
186 - },  
187 - "model": "super_archives.message",  
188 - "pk": 5  
189 -},  
190 -{  
191 - "fields": {  
192 - "body": "This is a repply to Thread 1 on list C",  
193 - "received_time": "2015-01-28T13:02:12.903Z",  
194 - "from_address": 1,  
195 - "thread": 4,  
196 - "spam": false,  
197 - "subject_clean": "Response 2 to Thread C",  
198 - "message_id": "response_2t1c",  
199 - "subject": "Message 2 to Thread 1C"  
200 - },  
201 - "model": "super_archives.message",  
202 - "pk": 6  
203 -},  
204 -{  
205 - "fields": {  
206 - "body": "This is a repply to Thread 1 on list C",  
207 - "received_time": "2015-01-28T13:02:12.903Z",  
208 - "from_address": 1,  
209 - "thread": 4,  
210 - "spam": false,  
211 - "subject_clean": "Response 3 to Thread C",  
212 - "message_id": "response_3t1c",  
213 - "subject": "Message 3 to Thread 1C"  
214 - },  
215 - "model": "super_archives.message",  
216 - "pk": 7  
217 -},  
218 -{  
219 - "fields": {  
220 - "body": "This is a repply to Thread 1 on list C",  
221 - "received_time": "2015-01-28T13:02:12.903Z",  
222 - "from_address": 1,  
223 - "thread": 4,  
224 - "spam": false,  
225 - "subject_clean": "Response 4 to Thread C",  
226 - "message_id": "response_4t1c",  
227 - "subject": "Message 4 to Thread 1C"  
228 - },  
229 - "model": "super_archives.message",  
230 - "pk": 8  
231 -},  
232 -{  
233 - "fields": {  
234 - "last_name": "Administrator",  
235 - "webpage": "",  
236 - "twitter": "",  
237 - "is_staff": true,  
238 - "user_permissions": [],  
239 - "date_joined": "2015-01-28T12:34:58.770Z",  
240 - "google_talk": "",  
241 - "first_name": "Admin",  
242 - "is_superuser": true,  
243 - "last_login": "2015-01-28T12:35:39.621Z",  
244 - "verification_hash": null,  
245 - "role": "",  
246 - "email": "admin@mail.com",  
247 - "username": "admin",  
248 - "bio": "",  
249 - "needs_update": true,  
250 - "is_active": true,  
251 - "facebook": "",  
252 - "groups": [],  
253 - "password": "pbkdf2_sha256$12000$iiKCMnLZnFJw$UTx89LB8oYTiw9UqkcglzFLmIaZtbr+ZzF1cG3vfcyo=",  
254 - "institution": "",  
255 - "github": "",  
256 - "modified": "2015-01-28T12:45:27.375Z"  
257 - },  
258 - "model": "accounts.user",  
259 - "pk": 1  
260 -},  
261 -{  
262 - "fields": {  
263 - "last_name": "Norris",  
264 - "webpage": "",  
265 - "twitter": "",  
266 - "is_staff": true,  
267 - "user_permissions": [],  
268 - "date_joined": "2015-01-28T12:34:58.770Z",  
269 - "google_talk": "",  
270 - "first_name": "Chuck",  
271 - "is_superuser": true,  
272 - "last_login": "2015-01-28T12:35:39.621Z",  
273 - "verification_hash": null,  
274 - "role": "",  
275 - "email": "chucknorris@mail.com",  
276 - "username": "chucknorris",  
277 - "bio": "",  
278 - "needs_update": true,  
279 - "is_active": true,  
280 - "facebook": "",  
281 - "groups": [],  
282 - "password": "pbkdf2_sha256$12000$iiKCMnLZnFJw$UTx89LB8oYTiw9UqkcglzFLmIaZtbr+ZzF1cG3vfcyo=",  
283 - "institution": "",  
284 - "github": "",  
285 - "modified": "2015-01-28T12:45:27.375Z"  
286 - },  
287 - "model": "accounts.user",  
288 - "pk": 2  
289 -},  
290 -{  
291 - "fields": {  
292 - "last_name": "Norris",  
293 - "webpage": "",  
294 - "twitter": "",  
295 - "is_staff": true,  
296 - "user_permissions": [],  
297 - "date_joined": "2015-01-28T12:34:58.770Z",  
298 - "google_talk": "",  
299 - "first_name": "Heisenberg",  
300 - "is_superuser": true,  
301 - "last_login": "2015-01-28T12:35:39.621Z",  
302 - "verification_hash": null,  
303 - "role": "",  
304 - "email": "heisenberg@mail.com",  
305 - "username": "heisenbergnorris",  
306 - "bio": "",  
307 - "needs_update": true,  
308 - "is_active": true,  
309 - "facebook": "",  
310 - "groups": [],  
311 - "password": "pbkdf2_sha256$12000$iiKCMnLZnFJw$UTx89LB8oYTiw9UqkcglzFLmIaZtbr+ZzF1cG3vfcyo=",  
312 - "institution": "",  
313 - "github": "",  
314 - "modified": "2015-01-28T12:45:27.375Z"  
315 - },  
316 - "model": "accounts.user",  
317 - "pk": 3  
318 -},  
319 -{  
320 - "fields": {  
321 - "last_name": "macartur",  
322 - "webpage": "",  
323 - "twitter": "",  
324 - "is_staff": false,  
325 - "user_permissions": [],  
326 - "date_joined": "2015-08-06T19:23:53Z",  
327 - "google_talk": "",  
328 - "first_name": "macartur",  
329 - "is_superuser": false,  
330 - "last_login": "2015-08-10T19:30:49.564Z",  
331 - "verification_hash": null,  
332 - "role": null,  
333 - "email": "macartur.sc@gmail.com",  
334 - "username": "macartur",  
335 - "bio": null,  
336 - "needs_update": false,  
337 - "is_active": true,  
338 - "facebook": "",  
339 - "groups": [],  
340 - "password": "pbkdf2_sha256$15000$nK2UEWhXi0pK$82RfvAo2pyarmmig8C5rjSq9s5CQihi4myKazIuozj0=",  
341 - "institution": null,  
342 - "github": null,  
343 - "modified": "2015-08-06T19:25:34.683Z"  
344 - },  
345 - "model": "accounts.user",  
346 - "pk": 4  
347 -},  
348 -{  
349 - "fields": {  
350 - "real_name": "",  
351 - "user": 1,  
352 - "md5": "edb0e96701c209ab4b50211c856c50c4",  
353 - "address": "admin@mail.com"  
354 - },  
355 - "model": "super_archives.emailaddress",  
356 - "pk": 1  
357 -},  
358 -{  
359 - "fields": {  
360 - "validation_key": "78e8af5ec02c44cba40db50d720b06fc",  
361 - "created": "2015-08-06T19:23:53.473Z",  
362 - "user": 4,  
363 - "address": "macartur.sc@gmail.com"  
364 - },  
365 - "model": "super_archives.emailaddressvalidation",  
366 - "pk": 1  
367 -}  
368 -]  
colab_spb/tests/test_get_list.py
@@ -4,7 +4,7 @@ from django.test import TestCase, Client @@ -4,7 +4,7 @@ from django.test import TestCase, Client
4 4
5 class ColabSPB(TestCase): 5 class ColabSPB(TestCase):
6 6
7 - fixtures = ['test_data.json'] 7 + fixtures = ['test_colab_spb.json']
8 8
9 def setUp(self): 9 def setUp(self):
10 super(ColabSPB, self).setUp() 10 super(ColabSPB, self).setUp()