'It works if the value ends in a slash.'

def test_end_slash(self):

    self.settings_module.MEDIA_URL = '/foo/'
    self.assertEqual('/foo/', self.settings_module.MEDIA_URL)
    self.settings_module.MEDIA_URL = 'http://media.foo.com/'
    self.assertEqual('http://media.foo.com/', self.settings_module.MEDIA_URL)
    self.settings_module.STATIC_URL = '/foo/'
    self.assertEqual('/foo/', self.settings_module.STATIC_URL)
    self.settings_module.STATIC_URL = 'http://static.foo.com/'
    self.assertEqual('http://static.foo.com/', self.settings_module.STATIC_URL)
