def test_allow_syncdb(self):
        router = MasterSlaveRouter()
        assert router.allow_syncdb(DEFAULT_DB_ALIAS, None)
        assert not router.allow_syncdb(get_slave(), None)
Make sure allow_syncdb() does the right thing for both masters and
dataset/ETHPy150Open jbalogh/django-multidb-router/multidb/tests.py/MasterSlaveRouterTests.test_allow_syncdb