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

        password = str(uuid.uuid4())

        extractor, envs = Extractor.from_department_and_password(department=department, password=password)

        assert department == extractor.departments[0]
        assert extractor.check_password(password) is True
        assert envs in password
dataset/ETHPy150Open codeforamerica/comport/tests/test_department_models.py/TestExtractors.test_extractors_from_department_and_password/swapped operands of `in`