'Check video_profiles config with leading and trailing whitespace'

def test_video_profile_list_with_whitespace(self):

    MobileApiConfig(video_profiles='    mobile_low    ,    mobile_high,youtube    ').save()
    video_profile_list = MobileApiConfig.get_video_profiles()
    self.assertEqual(video_profile_list, [u'mobile_low', u'mobile_high', u'youtube'])
