Quellcode durchsuchen

Fixing the editorial model test script

Roland Haroutiounian vor 9 Jahren
Ursprung
Commit
2610d70e5b
1 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
  1. 3
    2
      test_em.py

+ 3
- 2
test_em.py Datei anzeigen

@@ -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
 )

Laden…
Abbrechen
Speichern