'db_alias propagates?'

def test_db_alias_propagates(self):

    register_connection('testdb-1', 'mongoenginetest2')
    class A(Document, ):
        name = StringField()
        meta = {'db_alias': 'testdb-1', 'allow_inheritance': True}
    class B(A, ):
        pass
    self.assertEqual('testdb-1', B._meta.get('db_alias'))
