def _drop_database(self, database_name):
        if not database_name.startswith(TEST_DATABASE_PREFIX):
            # paranoia
            raise DatabaseError(
                "Suspicous! Can't delete database (%r) unless it's "
                "prefixed by %s" %
                (database_name, TEST_DATABASE_PREFIX)
            )
        if self.connection.connection.database_names() in database_name:
            # needs to be dropped
            self.connection.connection.drop_database(database_name)
dataset/ETHPy150Open peterbe/django-mongokit/django_mongokit/mongodb/base.py/DatabaseCreation._drop_database/swapped operands of `in`