def test_tweet_creation_notunicode()

in tweeter/tests.py [0:0]


    def test_tweet_creation_notunicode(self):
        time = datetime(year=2010,month=10,day=10,hour=10,minute=10,second=10)
        tweet = Tweet(text = "Hi� Ý'm ßoß ձ", user=User(username='ßoß'), timestamp = time)
        self.assertEqual(tweet.text,  "Hi� Ý'm ßoß ձ")
        self.assertEqual(tweet.user.username, 'ßoß')
        self.assertEqual(tweet.timestamp, time)