def test_unicode(self): journalentry = JournalEntry() journalentry.Adjustment = True self.assertEquals(unicode(journalentry), 'True')