'An ImproperlyConfigured exception is raised if the value doesn\'t end
in a slash.'

def test_no_end_slash(self):

    with self.assertRaises(ImproperlyConfigured):
        self.settings_module.MEDIA_URL = '/foo'
    with self.assertRaises(ImproperlyConfigured):
        self.settings_module.MEDIA_URL = 'http://media.foo.com'
    with self.assertRaises(ImproperlyConfigured):
        self.settings_module.STATIC_URL = '/foo'
    with self.assertRaises(ImproperlyConfigured):
        self.settings_module.STATIC_URL = 'http://static.foo.com'
