'Test that written URLs are returned clean despite input'

@patch.dict('django.conf.settings.CDN_VIDEO_URLS', {'CN': 'https://chinacdn.cn/'})
def test_rewrite_url_concat(self):

    cdn_response_video_url = (settings.CDN_VIDEO_URLS['CN'] + 'original_video.mp4')
    self.assertEqual(rewrite_video_url((settings.CDN_VIDEO_URLS['CN'] + '///'), self.original_video_url), cdn_response_video_url)
