def test_regen_extractor_envs(self):
        department = DepartmentFactory()
        department.save()

        password = str(uuid.uuid4())

        extractor, envs = Extractor.from_department_and_password(department=department, password=password)
        extractor.save()
        new_password = str(uuid.uuid4())

        extractor.set_password(new_password)

        assert extractor.check_password(new_password) is True
        assert extractor.generate_envs(new_password) in new_password
dataset/ETHPy150Open codeforamerica/comport/tests/test_department_models.py/TestExtractors.test_regen_extractor_envs/swapped operands of `in`