File tree Expand file tree Collapse file tree 3 files changed +142
-0
lines changed
tests/fixtures/favorite_coffee Expand file tree Collapse file tree 3 files changed +142
-0
lines changed Original file line number Diff line number Diff line change 1+ # coding: utf-8
2+
3+ from __future__ import (unicode_literals , print_function ,
4+ absolute_import , division )
5+
6+
7+ from ..load_fixture_json import load_fixture_json
8+
9+ DATA = {
10+ u'title' : 'Favorite coffee' ,
11+ u'id_string' : 'favorite_coffee' ,
12+ u'versions' : [
13+ load_fixture_json ('favorite_coffee/v1' ),
14+ load_fixture_json ('favorite_coffee/v2' )
15+ ]
16+ }
Original file line number Diff line number Diff line change 1+ {
2+ "id_string" : " favorite_coffee" ,
3+ "version" : " fcv1" ,
4+ "content" : {
5+ "choices" : [
6+ {
7+ "name" : " french" ,
8+ "label" : [
9+ " French"
10+ ],
11+ "list_name" : " al1hv46" ,
12+ "order" : 0
13+ },
14+ {
15+ "name" : " italian" ,
16+ "label" : [
17+ " Italian"
18+ ],
19+ "list_name" : " al1hv46" ,
20+ "order" : 1
21+ },
22+ {
23+ "name" : " american" ,
24+ "label" : [
25+ " American"
26+ ],
27+ "list_name" : " al1hv46" ,
28+ "order" : 2
29+ }
30+ ],
31+ "survey" : [
32+ {
33+ "select_from_list_name" : " al1hv46" ,
34+ "required" : false ,
35+ "label" : [
36+ " Favorite coffee type"
37+ ],
38+ "name" : " favorite_coffee_type" ,
39+ "type" : " select_multiple"
40+ },
41+ {
42+ "required" : false ,
43+ "type" : " text" ,
44+ "label" : [
45+ " Brand of coffee machine"
46+ ],
47+ "name" : " brand_of_coffee_machine"
48+ }
49+ ]
50+ },
51+ "submissions" : [
52+ {
53+ "brand_of_coffee_machine" : " Breville" ,
54+ "favorite_coffee_type" : " french italian"
55+ },
56+ {
57+ "brand_of_coffee_machine" : " DeLonghi" ,
58+ "favorite_coffee_type" : " italian"
59+ },
60+ {
61+ "brand_of_coffee_machine" : " Nespresso" ,
62+ "favorite_coffee_type" : " american"
63+ }
64+ ]
65+ }
Original file line number Diff line number Diff line change 1+ {
2+ "id_string" : " favorite_coffee" ,
3+ "version" : " fcv2" ,
4+ "content" : {
5+ "choices" : [
6+ {
7+ "name" : " french" ,
8+ "label" : [
9+ " French"
10+ ],
11+ "list_name" : " al1hv46" ,
12+ "order" : 0
13+ },
14+ {
15+ "name" : " american" ,
16+ "label" : [
17+ " American"
18+ ],
19+ "list_name" : " al1hv46" ,
20+ "order" : 1
21+ },
22+ {
23+ "name" : " british" ,
24+ "label" : [
25+ " British"
26+ ],
27+ "list_name" : " al1hv46" ,
28+ "order" : 2
29+ }
30+ ],
31+ "survey" : [
32+ {
33+ "select_from_list_name" : " al1hv46" ,
34+ "required" : false ,
35+ "label" : [
36+ " Favorite coffee type"
37+ ],
38+ "name" : " favorite_coffee_type" ,
39+ "type" : " select_multiple"
40+ },
41+ {
42+ "required" : false ,
43+ "type" : " text" ,
44+ "label" : [
45+ " Brand of coffee machine"
46+ ],
47+ "name" : " brand_of_coffee_machine"
48+ }
49+ ]
50+ },
51+ "submissions" : [
52+ {
53+ "brand_of_coffee_machine" : " Saico" ,
54+ "favorite_coffee_type" : " french"
55+ },
56+ {
57+ "brand_of_coffee_machine" : " Keurig" ,
58+ "favorite_coffee_type" : " american british"
59+ }
60+ ]
61+ }
You can’t perform that action at this time.
0 commit comments