Beispiel #1
0
 def test_short_description_no_description(self):
     org = Organization()
     org.description = None
     assert '' == org.short_description
Beispiel #2
0
 def test_short_description(self):
     org = Organization()
     org.description = "<p>Paragraph</p>"
     assert 'Paragraph' == org.short_description