def test_message_140_truncates(self): assert len(message_140('a' * 150)) == 140
def test_message_140(self): assert message_140('foo bar baz') == 'foo bar baz'