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)
Make sure allow_syncdb() does the right thing for both masters and
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/settings_tests/tests.py/TrailingSlashURLTests.test_end_slash--crossover with--dataset/ETHPy150Open jbalogh/django-multidb-router/multidb/tests.py/MasterSlaveRouterTests.test_allow_syncdb