Last active
February 28, 2024 09:19
-
-
Save dmzoneill/809f32f1ca301ce6f0dc2bad741ec15e to your computer and use it in GitHub Desktop.
AWX Strings 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[daoneill@fedora awx]$ grep -r "in str(.*)" --exclude-dir=.tox * | |
awx/main/analytics/core.py: if "Error:" in str(path): | |
awx/main/tasks/system.py: if 'did not affect any rows' in str(e): | |
awx/main/tasks/system.py: if 'did not affect any rows' in str(e): | |
awx/main/utils/common.py: if 'already exists' in str(e): | |
awx/main/tests/unit/commands/test_inventory_import.py: assert 'inventory-id' in str(err.value) | |
awx/main/tests/unit/commands/test_inventory_import.py: assert 'required' in str(err.value) | |
awx/main/tests/unit/commands/test_inventory_import.py: assert 'inventory-id' in str(err.value) | |
awx/main/tests/unit/commands/test_inventory_import.py: assert 'exclusive' in str(err.value) | |
awx/main/tests/unit/commands/test_inventory_import.py: assert '--source' in str(err.value) | |
awx/main/tests/unit/commands/test_inventory_import.py: assert 'required' in str(err.value) | |
awx/main/tests/unit/models/test_unified_job_unit.py: assert 'Cannot parse as JSON' in str(errors['extra_vars'][0]) | |
awx/main/tests/unit/test_tasks.py: assert 'Jinja variables are not allowed' in str(e.value) | |
awx/main/tests/unit/test_tasks.py: assert 'Jinja variables are not allowed' in str(e.value) | |
awx/main/tests/unit/test_tasks.py: assert 'multiple vault credentials were specified with --vault-id' in str(e.value) | |
awx/main/tests/unit/test_tasks.py: assert 'very_secret_value' not in str(build_safe_env(env)) | |
awx/main/tests/unit/test_tasks.py: assert 'Job could not start because no Execution Environment could be found' in str(e.value) | |
awx/main/tests/unit/test_tasks.py: assert 'The ProjectUpdate could not run because there is no Execution Environment' in str(e.value) | |
awx/main/tests/unit/utils/test_filters.py: "Filtering on password is not allowed." in str(e) | |
awx/main/tests/unit/utils/test_common.py: assert 'Circular reference detected' in str(exc) | |
awx/main/tests/unit/api/test_filters.py: assert 'not allowed' in str(excinfo.value) | |
awx/main/tests/unit/api/test_views.py: assert '$encrypted$ is a reserved keyword for password question defaults' in str(resp.data['error']) | |
awx/main/tests/unit/api/test_views.py: assert 'may not be used for new default' in str(resp.data['error']) | |
awx/main/tests/functional/commands/test_oauth2_token_revoke.py: assert 'A user with that username does not exist' in str(excinfo.value) | |
awx/main/tests/functional/commands/test_inventory_import.py: assert 'Source does not exist' in str(err.value) | |
awx/main/tests/functional/commands/test_inventory_import.py: assert 'id = 42' in str(err.value) | |
awx/main/tests/functional/commands/test_inventory_import.py: assert 'cannot be found' in str(err.value) | |
awx/main/tests/functional/commands/test_inventory_import.py: assert 'name = fooservers' in str(err.value) | |
awx/main/tests/functional/commands/test_inventory_import.py: assert 'cannot be found' in str(err.value) | |
awx/main/tests/functional/commands/test_oauth2_token_create.py: assert 'Username not supplied.' in str(excinfo.value) | |
awx/main/tests/functional/commands/test_oauth2_token_create.py: assert 'The user does not exist.' in str(excinfo.value) | |
awx/main/tests/functional/test_credential.py: assert "'%s' is not one of" % become_method in str(e) | |
awx/main/tests/functional/models/test_unified_job.py: assert 'combination already exists' in str(r.data) | |
awx/main/tests/functional/test_rbac_job_start.py: assert 'Job was launched with prompted fields you do not have access to' in str(exc) | |
awx/main/tests/functional/test_rbac_job_templates.py: assert 'Organization cannot be changed' in str(r.data) | |
awx/main/tests/functional/test_fixture_factories.py: assert 'persisted=False' in str(exc.value) | |
awx/main/tests/functional/test_fixture_factories.py: assert 'not a unique key' in str(exc.value) | |
awx/main/tests/functional/test_fixture_factories.py: assert 'provide an assignment' in str(exc.value) | |
awx/main/tests/functional/test_fixture_factories.py: assert 'unable to find' in str(exc.value) | |
awx/main/tests/functional/test_fixture_factories.py: assert 'unable to add non-user' in str(exc.value) | |
awx/main/tests/functional/api/test_settings.py: assert error in str(response.data) | |
awx/main/tests/functional/api/test_workflow_node.py: assert 'cannot accept credentials on launch' in str(r.data['msg']) | |
awx/main/tests/functional/api/test_instance_group.py: assert 'Cannot disassociate hybrid node' in str(r.data) | |
awx/main/tests/functional/api/test_instance_group.py: assert 'Cannot disassociate hybrid instance' in str(r.data) | |
awx/main/tests/functional/api/test_schedules.py: assert 'not allowed on launch' in str(r.data['extra_data'][0]) | |
awx/main/tests/functional/api/test_job_runtime_params.py: assert 'Cannot parse as' in str(response.data['extra_vars'][0]) | |
awx/main/tests/functional/api/test_instance_peers.py: assert 'Instance cannot peer to its own address.' in str(resp.data) | |
awx/main/tests/functional/api/test_instance_peers.py: assert 'Can only create execution or hop nodes.' in str(resp.data) | |
awx/main/tests/functional/api/test_instance_peers.py: assert 'Cannot change node type.' in str(resp.data) | |
awx/main/tests/functional/api/test_instance_peers.py: assert error_msg in str(resp.data) | |
awx/main/tests/functional/api/test_instance_peers.py: assert 'Cannot change listener port for managed nodes.' in str(resp.data) | |
awx/main/tests/functional/api/test_instance_peers.py: assert 'Cannot change listener port for managed nodes.' in str(resp.data) | |
awx/main/tests/functional/api/test_instance_peers.py: assert 'Instance hop1 is already peered to this instance.' in str(resp.data) | |
awx/main/tests/functional/api/test_instance_peers.py: assert 'Cannot peer to the same instance more than once.' in str(resp.data) | |
awx/main/tests/functional/api/test_instance_peers.py: assert 'Setting peers manually for managed nodes is not allowed.' in str(resp.data) | |
awx/main/tests/functional/api/test_instance_peers.py: assert 'Setting peers manually for managed nodes is not allowed.' in str(resp.data) | |
awx/main/tests/functional/api/test_instance_peers.py: assert 'Cannot change hostname.' in str(resp.data) | |
awx/main/tests/functional/api/test_instance_peers.py: assert "Can only change instances to the 'deprovisioning' state." in str(resp.data) | |
awx/main/tests/functional/api/test_instance_peers.py: assert 'Cannot deprovision managed nodes.' in str(resp.data) | |
awx/main/tests/functional/api/test_instance_peers.py: assert 'Cannot change peers_from_control_nodes for managed nodes.' in str(resp.data) | |
awx/main/tests/functional/api/test_instance_peers.py: assert 'Cannot change peers_from_control_nodes for managed nodes.' in str(resp.data) | |
awx/main/tests/functional/api/test_survey_spec.py: assert "expected to be string." in str(resp.data) | |
awx/main/tests/functional/api/test_project.py: assert 'job templates depend on branch override behavior for this project' in str(r2.data['allow_override']) | |
awx/main/tests/functional/api/test_project.py: assert 'ids: {}'.format(jt.id) in str(r2.data['allow_override']) | |
awx/main/tests/functional/api/test_job_template.py: assert 'Maximum number of forks (10) exceeded' in str(response.data) | |
awx/main/tests/functional/api/test_job_template.py: assert 'Cannot enable provisioning callback without an inventory set' in str(exc) | |
awx/main/tests/functional/api/test_job_template.py: assert 'Project does not allow overriding branch' in str(r.data['scm_branch']) | |
awx/main/tests/functional/api/test_job_template.py: assert 'Project does not allow overriding branch' in str(r.data['ask_scm_branch_on_launch']) | |
awx/main/tests/functional/api/test_job_template.py: assert "Cannot start automatically, an inventory is required." in str(r.data) | |
awx/main/tests/functional/test_instance_group_ordering.py: assert 'Ordered many-to-many fields do not support multiple objects' in str(err) | |
awx/conf/settings.py: if 'relation' in str(exc) and 'does not exist' in str(exc): | |
awx_collection/test/awx/test_schedule.py: assert msg in str(e.value) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment