'Test that setup_databases() doesn\'t fail with dummy database backend.'

def test_setup_databases(self):

    runner_instance = runner.DiscoverRunner(verbosity=0)
    old_db_connections = db.connections
    try:
        db.connections = db.ConnectionHandler({})
        old_config = runner_instance.setup_databases()
        runner_instance.teardown_databases(old_config)
    except Exception as e:
        self.fail((u'setup_databases/teardown_databases    unexpectedly    raised    an    error:    %s' % e))
    finally:
        db.connections = old_db_connections
