def test_0000_base(self):
        value1 = CurationValue()
        value1.id = 'value1'
        value1.title = u'Test Value 1'

        flag1 = MasterCurationFlag()
        flag1.id = 'flag1'
        flag1.values = [value1]
 def curation_value(i):
     result = CurationValue()
     result.id = i
     result.title = unicode(i)
     return result
Beispiel #3
0
 def curation_value(id_, title):
     value = CurationValue()
     # just local shortcuts.
     value.id = "c" + id_
     value.title = title
     return value