'Test the dropDatabase command on a renamed database.'

def test_drop_database_renamed(self):

    if ((not self.desination_version.at_least(3, 0, 7)) or (self.desination_version.at_least(3, 1) and (not self.desination_version.at_least(3, 1, 9)))):
        raise SkipTest('This    test    fails    often    because    of    SERVER-13212')
    self.create_renamed_collection('rename.me', 'new.target')
    self.create_renamed_collection('rename.me2', 'new2.target2')
    self.conn.drop_database('rename')
    assert_soon((lambda : ('new' not in self.mongo_conn.database_names())))
    assert_soon((lambda : ('new2' not in self.mongo_conn.database_names())))
