Browse Source

Fixing the editorial model test script

Roland Haroutiounian 9 years ago
parent
commit
2610d70e5b
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      test_em.py

+ 3
- 2
test_em.py View File

@@ -90,7 +90,7 @@ editorial_group = em.new_group( 'editorial_abstract',
90 90
                                 help_text = {
91 91
                                     'eng': 'Contains abstract class to handler editorial contents',
92 92
                                     'fre': 'Contient les classes abstraites permetant la gestion de contenu éditorial'
93
-                                }
93
+                                },
94 94
                                 depends = (base_group,)
95 95
 )
96 96
 
@@ -99,7 +99,7 @@ texte = em.new_class(   'text',
99 99
                         display_name = 'Text',
100 100
                         help_text = 'Abstract class that represent texts',
101 101
                         group = editorial_group,
102
-                        abtract = True,
102
+                        abstract = True,
103 103
 )
104 104
 
105 105
 texte.new_field(    'title',
@@ -126,4 +126,5 @@ collection.new_field(   'title',
126 126
                         display_name = 'Title',
127 127
                         group = editorial_group,
128 128
                         abstract = True,
129
+                        data_handler = 'varchar'
129 130
 )

Loading…
Cancel
Save