def test_deal_is_human_readable_when_wrapped_as_unicode(): (u"A Deal should be human readable after wrapped in unicode") from yipit.models import Deal # Given a deal with title, source and expiration date lunch = Deal() lunch.title = u"50% off at Shake Shack" lunch.source = u"KGB Deals" # When I wrap it was unicode representation = unicode(lunch) # Then it should look like this representation.should.equal(u"50% off at Shake Shack, by KGB Deals")