'A list of websites can be maintained on a user'

def test_websites(self):

    user = self.user_model.objects.get(username='testuser')
    test_sites = {'website_url': 'http://example.com', 'twitter_url': 'http://twitter.com/lmorchard', 'github_url': 'http://github.com/lmorchard', 'stackoverflow_url': 'http://stackoverflow.com/users/lmorchard', 'mozillians_url': 'https://mozillians.org/u/testuser', 'facebook_url': 'https://www.facebook.com/test.user'}
    for (name, url) in test_sites.items():
        setattr(user, name, url)
    user.save()
    user2 = self.user_model.objects.get(pk=user.pk)
    for (name, url) in test_sites.items():
        eq_(getattr(user2, name), url)
