def testAnyoneCanSubmit(self):
        self.project.anyone_submit = True
        self.project.save()

        for user_role in USER_ROLES:
            check_page_status(self, user_role, convert_url_roles(URL_ROLES))

        # Check if a simple registered user can open up Lotte
        expected_code = 200
        url = '/projects/p/project1/resource/resource1/l/pt_BR/'
        for user_role in ['registered']:
            response = self.client[user_role].get(url)
            assert_status_code(self, response, expected_code, url,
                user_role)
Args:
dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/projects/tests/access_control.py/ProjectAccessControlTestCase.testAnyoneCanSubmit--crossover with--dataset/ETHPy150Open calliope-project/calliope/calliope/core.py/Model.solve