nautobot 2.4.14__py3-none-any.whl → 2.4.15__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of nautobot might be problematic. Click here for more details.
- nautobot/apps/choices.py +8 -0
- nautobot/apps/ui.py +14 -0
- nautobot/core/api/views.py +2 -0
- nautobot/core/choices.py +4 -0
- nautobot/core/filters.py +21 -41
- nautobot/core/management/commands/check_job_approval_status.py +47 -0
- nautobot/core/management/commands/generate_test_data.py +1 -1
- nautobot/core/management/commands/migrate.py +1 -1
- nautobot/core/models/tree_queries.py +17 -0
- nautobot/core/settings.py +2 -2
- nautobot/core/tables.py +25 -2
- nautobot/core/templates/base_django.html +1 -1
- nautobot/core/templates/components/panel/header_extra_content_table.html +1 -1
- nautobot/core/templates/generic/object_list.html +17 -20
- nautobot/core/templates/inc/breadcrumbs.html +14 -0
- nautobot/core/templatetags/buttons.py +2 -4
- nautobot/core/templatetags/helpers.py +29 -6
- nautobot/core/templatetags/ui_framework.py +21 -0
- nautobot/core/testing/filters.py +20 -3
- nautobot/core/testing/forms.py +1 -1
- nautobot/core/tests/integration/test_filters.py +2 -2
- nautobot/core/tests/test_breadcrumbs.py +366 -0
- nautobot/core/tests/test_commands.py +40 -0
- nautobot/core/tests/test_filters.py +51 -1
- nautobot/core/tests/test_forms.py +1 -1
- nautobot/core/tests/test_graphql.py +4 -4
- nautobot/core/tests/test_titles.py +183 -0
- nautobot/core/tests/test_tree_queries.py +30 -0
- nautobot/core/tests/test_views.py +2 -2
- nautobot/core/tests/test_views_utils.py +1 -1
- nautobot/core/ui/breadcrumbs.py +538 -0
- nautobot/core/ui/bulk_buttons.py +53 -0
- nautobot/core/ui/object_detail.py +31 -8
- nautobot/core/ui/titles.py +127 -0
- nautobot/core/ui/utils.py +25 -0
- nautobot/core/utils/migrations.py +1 -1
- nautobot/core/views/__init__.py +1 -1
- nautobot/core/views/mixins.py +26 -1
- nautobot/core/views/renderers.py +20 -2
- nautobot/core/views/utils.py +13 -12
- nautobot/dcim/api/serializers.py +9 -0
- nautobot/dcim/choices.py +53 -0
- nautobot/dcim/filters/__init__.py +15 -3
- nautobot/dcim/forms.py +120 -7
- nautobot/dcim/management/commands/trace_paths.py +1 -1
- nautobot/dcim/migrations/0072_alter_powerfeed_options_and_more.py +97 -0
- nautobot/dcim/models/device_component_templates.py +8 -0
- nautobot/dcim/models/device_components.py +31 -12
- nautobot/dcim/models/devices.py +1 -1
- nautobot/dcim/models/power.py +171 -10
- nautobot/dcim/models/racks.py +7 -4
- nautobot/dcim/tables/devices.py +2 -0
- nautobot/dcim/tables/devicetypes.py +1 -0
- nautobot/dcim/tables/power.py +30 -2
- nautobot/dcim/templates/dcim/device.html +2 -2
- nautobot/dcim/templates/dcim/devicetype_retrieve.html +1 -214
- nautobot/dcim/templates/dcim/location_retrieve.html +2 -2
- nautobot/dcim/templates/dcim/powerfeed_edit.html +8 -0
- nautobot/dcim/templates/dcim/powerfeed_retrieve.html +1 -1
- nautobot/dcim/tests/integration/test_device_bulk_operations.py +61 -0
- nautobot/dcim/tests/test_api.py +24 -4
- nautobot/dcim/tests/test_filters.py +91 -13
- nautobot/dcim/tests/test_models.py +262 -0
- nautobot/dcim/tests/test_views.py +20 -12
- nautobot/dcim/utils.py +9 -0
- nautobot/dcim/views.py +390 -77
- nautobot/extras/factory.py +19 -20
- nautobot/extras/filters/__init__.py +3 -2
- nautobot/extras/filters/mixins.py +15 -1
- nautobot/extras/forms/__init__.py +2 -1
- nautobot/extras/forms/forms.py +62 -0
- nautobot/extras/managers.py +4 -1
- nautobot/extras/migrations/0125_jobresult_date_started.py +18 -0
- nautobot/extras/models/customfields.py +1 -2
- nautobot/extras/models/datasources.py +1 -2
- nautobot/extras/models/jobs.py +7 -3
- nautobot/extras/plugins/views.py +24 -1
- nautobot/extras/secrets/__init__.py +1 -1
- nautobot/extras/tables.py +9 -0
- nautobot/extras/templates/extras/customfield.html +2 -129
- nautobot/extras/templates/extras/customfield_edit.html +2 -108
- nautobot/extras/templates/extras/customfield_retrieve.html +129 -0
- nautobot/extras/templates/extras/customfield_update.html +108 -0
- nautobot/extras/templates/extras/inc/jobresult.html +7 -3
- nautobot/extras/templates/extras/jobresult.html +2 -155
- nautobot/extras/templates/extras/jobresult_retrieve.html +155 -0
- nautobot/extras/templates/extras/marketplace.html +5 -6
- nautobot/extras/templates/extras/note.html +2 -53
- nautobot/extras/templates/extras/note_retrieve.html +53 -0
- nautobot/extras/templates/extras/plugins_list.html +5 -6
- nautobot/extras/templatetags/custom_links.py +2 -2
- nautobot/extras/templatetags/job_buttons.py +1 -1
- nautobot/extras/templatetags/plugins.py +1 -1
- nautobot/extras/tests/integration/test_computedfields.py +2 -2
- nautobot/extras/tests/integration/test_customfields.py +14 -11
- nautobot/extras/tests/integration/test_dynamicgroups.py +1 -1
- nautobot/extras/tests/integration/test_notes.py +1 -1
- nautobot/extras/tests/integration/test_plugins.py +6 -6
- nautobot/extras/tests/integration/test_relationships.py +2 -2
- nautobot/extras/tests/test_filters.py +9 -0
- nautobot/extras/tests/test_forms.py +2 -2
- nautobot/extras/tests/test_plugins.py +2 -3
- nautobot/extras/tests/test_relationships.py +7 -7
- nautobot/extras/tests/test_views.py +172 -1
- nautobot/extras/urls.py +3 -59
- nautobot/extras/utils.py +1 -1
- nautobot/extras/views.py +77 -178
- nautobot/ipam/tables.py +8 -15
- nautobot/ipam/tests/migration/test_migrations.py +8 -8
- nautobot/ipam/tests/test_api.py +2 -2
- nautobot/ipam/tests/test_models.py +1 -1
- nautobot/project-static/docs/404.html +23 -0
- nautobot/project-static/docs/apps/index.html +23 -0
- nautobot/project-static/docs/apps/nautobot-apps.html +23 -0
- nautobot/project-static/docs/assets/_mkdocstrings.css +44 -6
- nautobot/project-static/docs/code-reference/nautobot/apps/__init__.html +28 -0
- nautobot/project-static/docs/code-reference/nautobot/apps/admin.html +25 -0
- nautobot/project-static/docs/code-reference/nautobot/apps/api.html +128 -20
- nautobot/project-static/docs/code-reference/nautobot/apps/change_logging.html +37 -4
- nautobot/project-static/docs/code-reference/nautobot/apps/choices.html +39 -6
- nautobot/project-static/docs/code-reference/nautobot/apps/config.html +25 -0
- nautobot/project-static/docs/code-reference/nautobot/apps/constants.html +24 -0
- nautobot/project-static/docs/code-reference/nautobot/apps/datasources.html +32 -5
- nautobot/project-static/docs/code-reference/nautobot/apps/events.html +41 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/exceptions.html +39 -7
- nautobot/project-static/docs/code-reference/nautobot/apps/factory.html +43 -10
- nautobot/project-static/docs/code-reference/nautobot/apps/filters.html +74 -59
- nautobot/project-static/docs/code-reference/nautobot/apps/forms.html +143 -28
- nautobot/project-static/docs/code-reference/nautobot/apps/graphql.html +43 -12
- nautobot/project-static/docs/code-reference/nautobot/apps/jobs.html +135 -53
- nautobot/project-static/docs/code-reference/nautobot/apps/models.html +229 -36
- nautobot/project-static/docs/code-reference/nautobot/apps/querysets.html +27 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/secrets.html +30 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/tables.html +162 -18
- nautobot/project-static/docs/code-reference/nautobot/apps/testing.html +258 -51
- nautobot/project-static/docs/code-reference/nautobot/apps/ui.html +5987 -2620
- nautobot/project-static/docs/code-reference/nautobot/apps/urls.html +25 -0
- nautobot/project-static/docs/code-reference/nautobot/apps/utils.html +154 -55
- nautobot/project-static/docs/code-reference/nautobot/apps/views.html +150 -35
- nautobot/project-static/docs/development/apps/api/configuration-view.html +23 -0
- nautobot/project-static/docs/development/apps/api/database-backend-config.html +23 -0
- nautobot/project-static/docs/development/apps/api/models/django-admin.html +23 -0
- nautobot/project-static/docs/development/apps/api/models/global-search.html +23 -0
- nautobot/project-static/docs/development/apps/api/models/graphql.html +23 -0
- nautobot/project-static/docs/development/apps/api/models/index.html +23 -0
- nautobot/project-static/docs/development/apps/api/nautobot-app-config.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/custom-validators.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/filter-extensions.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/git-repository-content.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/index.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/jinja2-filters.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/jobs.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/populating-extensibility-features.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/secrets-providers.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/table-extensions.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/uniquely-identify-objects.html +23 -0
- nautobot/project-static/docs/development/apps/api/prometheus.html +23 -0
- nautobot/project-static/docs/development/apps/api/setup.html +23 -0
- nautobot/project-static/docs/development/apps/api/testing.html +23 -0
- nautobot/project-static/docs/development/apps/api/ui-extensions/banners.html +23 -0
- nautobot/project-static/docs/development/apps/api/ui-extensions/home-page.html +23 -0
- nautobot/project-static/docs/development/apps/api/ui-extensions/index.html +23 -0
- nautobot/project-static/docs/development/apps/api/ui-extensions/navigation.html +23 -0
- nautobot/project-static/docs/development/apps/api/ui-extensions/object-views.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/base-template.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/core-view-overrides.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/django-generic-views.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/help-documentation.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/index.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/nautobot-generic-views.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewset.html +31 -2
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewsetrouter.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/notes.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/rest-api.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/urls.html +23 -0
- nautobot/project-static/docs/development/apps/index.html +23 -0
- nautobot/project-static/docs/development/apps/migration/code-updates.html +23 -0
- nautobot/project-static/docs/development/apps/migration/dependency-updates.html +23 -0
- nautobot/project-static/docs/development/apps/migration/from-v1.html +23 -0
- nautobot/project-static/docs/development/apps/migration/model-updates/dcim.html +23 -0
- nautobot/project-static/docs/development/apps/migration/model-updates/extras.html +23 -0
- nautobot/project-static/docs/development/apps/migration/model-updates/global.html +23 -0
- nautobot/project-static/docs/development/apps/migration/model-updates/ipam.html +23 -0
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/best-practices.html +26 -3
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/breadcrumbs-titles.html +10544 -0
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/custom-content.html +23 -0
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/index.html +23 -0
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/migration-steps.html +23 -0
- nautobot/project-static/docs/development/apps/porting-from-netbox.html +26 -3
- nautobot/project-static/docs/development/core/application-registry.html +23 -0
- nautobot/project-static/docs/development/core/best-practices.html +23 -0
- nautobot/project-static/docs/development/core/bootstrap-ui.html +23 -0
- nautobot/project-static/docs/development/core/caching.html +23 -0
- nautobot/project-static/docs/development/core/controllers.html +23 -0
- nautobot/project-static/docs/development/core/docker-compose-advanced-use-cases.html +23 -0
- nautobot/project-static/docs/development/core/generic-views.html +23 -0
- nautobot/project-static/docs/development/core/getting-started.html +23 -0
- nautobot/project-static/docs/development/core/homepage.html +23 -0
- nautobot/project-static/docs/development/core/index.html +23 -0
- nautobot/project-static/docs/development/core/minikube-dev-environment-for-k8s-jobs.html +23 -0
- nautobot/project-static/docs/development/core/model-checklist.html +23 -0
- nautobot/project-static/docs/development/core/model-features.html +23 -0
- nautobot/project-static/docs/development/core/natural-keys.html +23 -0
- nautobot/project-static/docs/development/core/navigation-menu.html +23 -0
- nautobot/project-static/docs/development/core/release-checklist.html +23 -0
- nautobot/project-static/docs/development/core/role-internals.html +23 -0
- nautobot/project-static/docs/development/core/settings.html +23 -0
- nautobot/project-static/docs/development/core/style-guide.html +23 -0
- nautobot/project-static/docs/development/core/templates.html +23 -0
- nautobot/project-static/docs/development/core/testing.html +23 -0
- nautobot/project-static/docs/development/core/ui-component-framework.html +713 -255
- nautobot/project-static/docs/development/core/user-preferences.html +23 -0
- nautobot/project-static/docs/development/index.html +23 -0
- nautobot/project-static/docs/development/jobs/getting-started.html +23 -0
- nautobot/project-static/docs/development/jobs/index.html +23 -0
- nautobot/project-static/docs/development/jobs/installation.html +23 -0
- nautobot/project-static/docs/development/jobs/job-extensions.html +23 -0
- nautobot/project-static/docs/development/jobs/job-logging.html +23 -0
- nautobot/project-static/docs/development/jobs/job-patterns.html +23 -0
- nautobot/project-static/docs/development/jobs/job-structure.html +23 -0
- nautobot/project-static/docs/development/jobs/migration/from-v1.html +23 -0
- nautobot/project-static/docs/development/jobs/testing.html +23 -0
- nautobot/project-static/docs/index.html +23 -0
- nautobot/project-static/docs/media/development/core/ui-component-framework/breadcrumbs-titles-data-flow.png +0 -0
- nautobot/project-static/docs/media/power_distribution.png +0 -0
- nautobot/project-static/docs/objects.inv +0 -0
- nautobot/project-static/docs/overview/application_stack.html +23 -0
- nautobot/project-static/docs/overview/design_philosophy.html +23 -0
- nautobot/project-static/docs/release-notes/index.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.0.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.1.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.2.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.3.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.4.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.5.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.6.html +23 -0
- nautobot/project-static/docs/release-notes/version-2.0.html +23 -0
- nautobot/project-static/docs/release-notes/version-2.1.html +23 -0
- nautobot/project-static/docs/release-notes/version-2.2.html +23 -0
- nautobot/project-static/docs/release-notes/version-2.3.html +23 -0
- nautobot/project-static/docs/release-notes/version-2.4.html +231 -0
- nautobot/project-static/docs/requirements.txt +2 -2
- nautobot/project-static/docs/search/search_index.json +1 -1
- nautobot/project-static/docs/sitemap.xml +303 -299
- nautobot/project-static/docs/sitemap.xml.gz +0 -0
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/ldap.html +23 -0
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/remote.html +23 -0
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/sso.html +23 -0
- nautobot/project-static/docs/user-guide/administration/configuration/index.html +23 -0
- nautobot/project-static/docs/user-guide/administration/configuration/redis.html +23 -0
- nautobot/project-static/docs/user-guide/administration/configuration/settings.html +23 -0
- nautobot/project-static/docs/user-guide/administration/configuration/time-zones.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/celery-queues.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/docker.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/health-checks.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/permissions.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/prometheus-metrics.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/replicating-nautobot.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/request-profiling.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/s3-django-storage.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/selinux-troubleshooting.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/app-install.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/external-authentication.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/http-server.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/index.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/install_system.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/nautobot.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/services.html +23 -0
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-netbox.html +23 -0
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-postgresql.html +23 -0
- nautobot/project-static/docs/user-guide/administration/security/index.html +23 -0
- nautobot/project-static/docs/user-guide/administration/security/notices.html +23 -0
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-server.html +284 -219
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-shell.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/database-backup.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/after-you-upgrade.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/before-you-upgrade.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/for-developers.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/index.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/whats-changed.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/region-and-site-data-migration-guide.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/upgrading-from-nautobot-v1.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/upgrading.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuit.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittermination.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittype.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/circuits/provider.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/circuits/providernetwork.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloud.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudaccount.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudnetwork.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudnetworkprefixassignment.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudresourcetype.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudservice.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudservicenetworkassignment.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/cable.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleport.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleporttemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverport.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverporttemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/controller.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/controllermanageddevicegroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/device.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebay.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebaytemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicefamily.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/deviceredundancygroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicetype.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontport.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontporttemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interface.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfaceredundancygroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfacetemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/inventoryitem.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/location.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/locationtype.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/manufacturer.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/module.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulebay.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulebaytemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulefamily.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/moduletype.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/platform.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerfeed.html +305 -5
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlet.html +24 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlettemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerpanel.html +136 -3
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerport.html +41 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerporttemplate.html +40 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rack.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackgroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackreservation.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearport.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearporttemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareimagefile.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareversion.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/virtualchassis.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/virtualdevicecontext.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontext.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontextschema.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/extras/contact.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/extras/team.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/ipaddress.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/namespace.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/prefix.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/rir.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/routetarget.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/service.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlan.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlangroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vrf.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/overview/introduction.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenant.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenantgroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/cluster.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustergroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustertype.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/virtualmachine.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/vminterface.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/wireless/index.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/wireless/radioprofile.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/wireless/supporteddatarate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/wireless/wirelessnetwork.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/contacts-and-teams.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/custom-fields.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-devices.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-location-types-and-locations.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/index.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/interfaces.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/ipam.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/platforms.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/search-bar.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/tenants.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/vlans-and-vlan-groups.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/git-data-source.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/graphql.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/ip-address-merge-tool.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/relationships.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/software-image-files-and-versions.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/wireless-networks-and-controllers.html +23 -0
- nautobot/project-static/docs/user-guide/index.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/change-logging.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/computedfield.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/customfield.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/customlink.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/dynamicgroup.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/events.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/exporttemplate.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/externalintegration.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/gitrepository.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/graphql.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/graphqlquery.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/imageattachment.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/index.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/job-scheduling-and-approvals.html +24 -1
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobbutton.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobhook.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobqueue.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/kubernetes-job-support.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/managing-jobs.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/models.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/napalm.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/note.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/objectmetadata.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/relationship.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/rendering-jinja-templates.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/authentication.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/filtering.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/overview.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/ui-related-endpoints.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/role.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/savedview.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/secret.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/staticgroupassociation.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/status.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/tag.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/template-filters.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/users/objectpermission.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/users/token.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/webhook.html +23 -0
- nautobot/users/tests/test_api.py +2 -2
- nautobot/virtualization/templates/virtualization/virtualmachine.html +2 -252
- nautobot/virtualization/templates/virtualization/virtualmachine_edit.html +2 -75
- nautobot/virtualization/templates/virtualization/virtualmachine_retrieve.html +252 -0
- nautobot/virtualization/templates/virtualization/virtualmachine_update.html +75 -0
- nautobot/virtualization/urls.py +3 -61
- nautobot/virtualization/views.py +48 -72
- {nautobot-2.4.14.dist-info → nautobot-2.4.15.dist-info}/METADATA +24 -24
- {nautobot-2.4.14.dist-info → nautobot-2.4.15.dist-info}/RECORD +433 -416
- {nautobot-2.4.14.dist-info → nautobot-2.4.15.dist-info}/LICENSE.txt +0 -0
- {nautobot-2.4.14.dist-info → nautobot-2.4.15.dist-info}/NOTICE +0 -0
- {nautobot-2.4.14.dist-info → nautobot-2.4.15.dist-info}/WHEEL +0 -0
- {nautobot-2.4.14.dist-info → nautobot-2.4.15.dist-info}/entry_points.txt +0 -0
|
@@ -8752,6 +8752,15 @@
|
|
|
8752
8752
|
</span>
|
|
8753
8753
|
</a>
|
|
8754
8754
|
|
|
8755
|
+
</li>
|
|
8756
|
+
|
|
8757
|
+
<li class="md-nav__item">
|
|
8758
|
+
<a href="#nautobot.apps.testing.FilterTestCases.FilterTestCase.test_automagic_filters" class="md-nav__link">
|
|
8759
|
+
<span class="md-ellipsis">
|
|
8760
|
+
test_automagic_filters
|
|
8761
|
+
</span>
|
|
8762
|
+
</a>
|
|
8763
|
+
|
|
8755
8764
|
</li>
|
|
8756
8765
|
|
|
8757
8766
|
<li class="md-nav__item">
|
|
@@ -10222,6 +10231,29 @@
|
|
|
10222
10231
|
|
|
10223
10232
|
|
|
10224
10233
|
|
|
10234
|
+
|
|
10235
|
+
|
|
10236
|
+
|
|
10237
|
+
|
|
10238
|
+
|
|
10239
|
+
|
|
10240
|
+
<li class="md-nav__item">
|
|
10241
|
+
<a href="../../../development/apps/migration/ui-component-framework/breadcrumbs-titles.html" class="md-nav__link">
|
|
10242
|
+
|
|
10243
|
+
|
|
10244
|
+
|
|
10245
|
+
<span class="md-ellipsis">
|
|
10246
|
+
Breadcrumbs and titles
|
|
10247
|
+
|
|
10248
|
+
</span>
|
|
10249
|
+
|
|
10250
|
+
|
|
10251
|
+
</a>
|
|
10252
|
+
</li>
|
|
10253
|
+
|
|
10254
|
+
|
|
10255
|
+
|
|
10256
|
+
|
|
10225
10257
|
</ul>
|
|
10226
10258
|
</nav>
|
|
10227
10259
|
|
|
@@ -12110,6 +12142,15 @@
|
|
|
12110
12142
|
</span>
|
|
12111
12143
|
</a>
|
|
12112
12144
|
|
|
12145
|
+
</li>
|
|
12146
|
+
|
|
12147
|
+
<li class="md-nav__item">
|
|
12148
|
+
<a href="#nautobot.apps.testing.FilterTestCases.FilterTestCase.test_automagic_filters" class="md-nav__link">
|
|
12149
|
+
<span class="md-ellipsis">
|
|
12150
|
+
test_automagic_filters
|
|
12151
|
+
</span>
|
|
12152
|
+
</a>
|
|
12153
|
+
|
|
12113
12154
|
</li>
|
|
12114
12155
|
|
|
12115
12156
|
<li class="md-nav__item">
|
|
@@ -13143,6 +13184,7 @@
|
|
|
13143
13184
|
|
|
13144
13185
|
|
|
13145
13186
|
|
|
13187
|
+
|
|
13146
13188
|
<div class="doc doc-children">
|
|
13147
13189
|
|
|
13148
13190
|
|
|
@@ -13165,7 +13207,7 @@
|
|
|
13165
13207
|
|
|
13166
13208
|
<div class="doc doc-contents ">
|
|
13167
13209
|
<p class="doc doc-class-bases">
|
|
13168
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelTestCase" href="#nautobot.apps.testing.ModelTestCase">ModelTestCase</a></code></p>
|
|
13210
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelTestCase (nautobot.core.testing.views.ModelTestCase)" href="#nautobot.apps.testing.ModelTestCase">ModelTestCase</a></code></p>
|
|
13169
13211
|
|
|
13170
13212
|
|
|
13171
13213
|
<p>Base test case for API requests.</p>
|
|
@@ -13179,6 +13221,7 @@
|
|
|
13179
13221
|
|
|
13180
13222
|
|
|
13181
13223
|
|
|
13224
|
+
|
|
13182
13225
|
<div class="doc doc-children">
|
|
13183
13226
|
|
|
13184
13227
|
|
|
@@ -13204,6 +13247,7 @@
|
|
|
13204
13247
|
<p>If a specific API has a false failure here (maybe it has security-related strings as model flags or something?),
|
|
13205
13248
|
its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
13206
13249
|
|
|
13250
|
+
|
|
13207
13251
|
</div>
|
|
13208
13252
|
|
|
13209
13253
|
</div>
|
|
@@ -13221,6 +13265,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13221
13265
|
|
|
13222
13266
|
<p>Get serializer field names that are many-to-many or one-to-many and thus affected by ?exclude_m2m=true.</p>
|
|
13223
13267
|
|
|
13268
|
+
|
|
13224
13269
|
</div>
|
|
13225
13270
|
|
|
13226
13271
|
</div>
|
|
@@ -13238,6 +13283,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13238
13283
|
|
|
13239
13284
|
<p>Create a token for API calls.</p>
|
|
13240
13285
|
|
|
13286
|
+
|
|
13241
13287
|
</div>
|
|
13242
13288
|
|
|
13243
13289
|
</div>
|
|
@@ -13255,6 +13301,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13255
13301
|
|
|
13256
13302
|
<p>Set or unset a specific API version for requests in this test case.</p>
|
|
13257
13303
|
|
|
13304
|
+
|
|
13258
13305
|
</div>
|
|
13259
13306
|
|
|
13260
13307
|
</div>
|
|
@@ -13280,7 +13327,8 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13280
13327
|
|
|
13281
13328
|
<div class="doc doc-contents ">
|
|
13282
13329
|
<p class="doc doc-class-bases">
|
|
13283
|
-
Bases: <code><span title="rest_framework.test.APITransactionTestCase">APITransactionTestCase</span></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.mixins.NautobotTestCaseMixin" href="#nautobot.apps.testing.NautobotTestCaseMixin">NautobotTestCaseMixin</a></code></p>
|
|
13330
|
+
Bases: <code><span title="rest_framework.test.APITransactionTestCase">APITransactionTestCase</span></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.NautobotTestCaseMixin (nautobot.core.testing.mixins.NautobotTestCaseMixin)" href="#nautobot.apps.testing.NautobotTestCaseMixin">NautobotTestCaseMixin</a></code></p>
|
|
13331
|
+
|
|
13284
13332
|
|
|
13285
13333
|
|
|
13286
13334
|
|
|
@@ -13314,6 +13362,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13314
13362
|
|
|
13315
13363
|
<p>Create a superuser and token for API calls.</p>
|
|
13316
13364
|
|
|
13365
|
+
|
|
13317
13366
|
</div>
|
|
13318
13367
|
|
|
13319
13368
|
</div>
|
|
@@ -13348,6 +13397,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13348
13397
|
|
|
13349
13398
|
|
|
13350
13399
|
|
|
13400
|
+
|
|
13351
13401
|
<div class="doc doc-children">
|
|
13352
13402
|
|
|
13353
13403
|
|
|
@@ -13370,7 +13420,8 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13370
13420
|
|
|
13371
13421
|
<div class="doc doc-contents ">
|
|
13372
13422
|
<p class="doc doc-class-bases">
|
|
13373
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.api.APITestCase" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
13423
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.APITestCase (nautobot.core.testing.api.APITestCase)" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
13424
|
+
|
|
13374
13425
|
|
|
13375
13426
|
|
|
13376
13427
|
|
|
@@ -13404,6 +13455,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13404
13455
|
|
|
13405
13456
|
<p>POST a set of objects in a single request.</p>
|
|
13406
13457
|
|
|
13458
|
+
|
|
13407
13459
|
</div>
|
|
13408
13460
|
|
|
13409
13461
|
</div>
|
|
@@ -13421,6 +13473,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13421
13473
|
|
|
13422
13474
|
<p>POST a single object with permission.</p>
|
|
13423
13475
|
|
|
13476
|
+
|
|
13424
13477
|
</div>
|
|
13425
13478
|
|
|
13426
13479
|
</div>
|
|
@@ -13438,6 +13491,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13438
13491
|
|
|
13439
13492
|
<p>POST a single object without permission.</p>
|
|
13440
13493
|
|
|
13494
|
+
|
|
13441
13495
|
</div>
|
|
13442
13496
|
|
|
13443
13497
|
</div>
|
|
@@ -13455,6 +13509,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13455
13509
|
|
|
13456
13510
|
<p>CSV export an object, delete it, and recreate it via CSV import.</p>
|
|
13457
13511
|
|
|
13512
|
+
|
|
13458
13513
|
</div>
|
|
13459
13514
|
|
|
13460
13515
|
</div>
|
|
@@ -13480,7 +13535,8 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13480
13535
|
|
|
13481
13536
|
<div class="doc doc-contents ">
|
|
13482
13537
|
<p class="doc doc-class-bases">
|
|
13483
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.api.APITestCase" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
13538
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.APITestCase (nautobot.core.testing.api.APITestCase)" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
13539
|
+
|
|
13484
13540
|
|
|
13485
13541
|
|
|
13486
13542
|
|
|
@@ -13516,6 +13572,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13516
13572
|
<p>For some models this may just be any random object, but when we have FKs with <code>on_delete=models.PROTECT</code>
|
|
13517
13573
|
(as is often the case) we need to find or create an instance that doesn't have such entanglements.</p>
|
|
13518
13574
|
|
|
13575
|
+
|
|
13519
13576
|
</div>
|
|
13520
13577
|
|
|
13521
13578
|
</div>
|
|
@@ -13535,6 +13592,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13535
13592
|
<p>For some models this may just be any random objects, but when we have FKs with <code>on_delete=models.PROTECT</code>
|
|
13536
13593
|
(as is often the case) we need to find or create an instance that doesn't have such entanglements.</p>
|
|
13537
13594
|
|
|
13595
|
+
|
|
13538
13596
|
</div>
|
|
13539
13597
|
|
|
13540
13598
|
</div>
|
|
@@ -13552,6 +13610,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13552
13610
|
|
|
13553
13611
|
<p>DELETE a set of objects in a single request.</p>
|
|
13554
13612
|
|
|
13613
|
+
|
|
13555
13614
|
</div>
|
|
13556
13615
|
|
|
13557
13616
|
</div>
|
|
@@ -13569,6 +13628,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13569
13628
|
|
|
13570
13629
|
<p>DELETE a single object identified by its primary key.</p>
|
|
13571
13630
|
|
|
13631
|
+
|
|
13572
13632
|
</div>
|
|
13573
13633
|
|
|
13574
13634
|
</div>
|
|
@@ -13586,6 +13646,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13586
13646
|
|
|
13587
13647
|
<p>DELETE a single object without permission.</p>
|
|
13588
13648
|
|
|
13649
|
+
|
|
13589
13650
|
</div>
|
|
13590
13651
|
|
|
13591
13652
|
</div>
|
|
@@ -13611,7 +13672,8 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13611
13672
|
|
|
13612
13673
|
<div class="doc doc-contents ">
|
|
13613
13674
|
<p class="doc doc-class-bases">
|
|
13614
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.api.APITestCase" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
13675
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.APITestCase (nautobot.core.testing.api.APITestCase)" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
13676
|
+
|
|
13615
13677
|
|
|
13616
13678
|
|
|
13617
13679
|
|
|
@@ -13645,6 +13707,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13645
13707
|
|
|
13646
13708
|
<p>GET a single object as an authenticated user with permission to view the object.</p>
|
|
13647
13709
|
|
|
13710
|
+
|
|
13648
13711
|
</div>
|
|
13649
13712
|
|
|
13650
13713
|
</div>
|
|
@@ -13662,6 +13725,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13662
13725
|
|
|
13663
13726
|
<p>GET a single object as an unauthenticated user.</p>
|
|
13664
13727
|
|
|
13728
|
+
|
|
13665
13729
|
</div>
|
|
13666
13730
|
|
|
13667
13731
|
</div>
|
|
@@ -13679,6 +13743,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13679
13743
|
|
|
13680
13744
|
<p>GET a single object as an authenticated user without the required permission.</p>
|
|
13681
13745
|
|
|
13746
|
+
|
|
13682
13747
|
</div>
|
|
13683
13748
|
|
|
13684
13749
|
</div>
|
|
@@ -13696,6 +13761,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13696
13761
|
|
|
13697
13762
|
<p>Make an OPTIONS request for a single object.</p>
|
|
13698
13763
|
|
|
13764
|
+
|
|
13699
13765
|
</div>
|
|
13700
13766
|
|
|
13701
13767
|
</div>
|
|
@@ -13721,7 +13787,8 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13721
13787
|
|
|
13722
13788
|
<div class="doc doc-contents ">
|
|
13723
13789
|
<p class="doc doc-class-bases">
|
|
13724
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.api.APITestCase" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
13790
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.APITestCase (nautobot.core.testing.api.APITestCase)" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
13791
|
+
|
|
13725
13792
|
|
|
13726
13793
|
|
|
13727
13794
|
|
|
@@ -13755,6 +13822,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13755
13822
|
|
|
13756
13823
|
<p>Get a list of model fields that could be tested with the ?depth query parameter</p>
|
|
13757
13824
|
|
|
13825
|
+
|
|
13758
13826
|
</div>
|
|
13759
13827
|
|
|
13760
13828
|
</div>
|
|
@@ -13772,6 +13840,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13772
13840
|
|
|
13773
13841
|
<p>GET a list of objects as an authenticated user with permission to view the objects.</p>
|
|
13774
13842
|
|
|
13843
|
+
|
|
13775
13844
|
</div>
|
|
13776
13845
|
|
|
13777
13846
|
</div>
|
|
@@ -13789,6 +13858,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13789
13858
|
|
|
13790
13859
|
<p>GET a list of objects as an unauthenticated user.</p>
|
|
13791
13860
|
|
|
13861
|
+
|
|
13792
13862
|
</div>
|
|
13793
13863
|
|
|
13794
13864
|
</div>
|
|
@@ -13806,6 +13876,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13806
13876
|
|
|
13807
13877
|
<p>GET a list of objects in CSV format as an authenticated user with permission to view some objects.</p>
|
|
13808
13878
|
|
|
13879
|
+
|
|
13809
13880
|
</div>
|
|
13810
13881
|
|
|
13811
13882
|
</div>
|
|
@@ -13823,6 +13894,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13823
13894
|
|
|
13824
13895
|
<p>GET a list of objects using the "?depth=0" parameter.</p>
|
|
13825
13896
|
|
|
13897
|
+
|
|
13826
13898
|
</div>
|
|
13827
13899
|
|
|
13828
13900
|
</div>
|
|
@@ -13840,6 +13912,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13840
13912
|
|
|
13841
13913
|
<p>GET a list of objects using the "?depth=1" parameter.</p>
|
|
13842
13914
|
|
|
13915
|
+
|
|
13843
13916
|
</div>
|
|
13844
13917
|
|
|
13845
13918
|
</div>
|
|
@@ -13857,6 +13930,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13857
13930
|
|
|
13858
13931
|
<p>GET a list of objects filtered by ID.</p>
|
|
13859
13932
|
|
|
13933
|
+
|
|
13860
13934
|
</div>
|
|
13861
13935
|
|
|
13862
13936
|
</div>
|
|
@@ -13874,6 +13948,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13874
13948
|
|
|
13875
13949
|
<p>GET a list of objects with an unknown filter parameter and no strict filtering, expect it to be ignored.</p>
|
|
13876
13950
|
|
|
13951
|
+
|
|
13877
13952
|
</div>
|
|
13878
13953
|
|
|
13879
13954
|
</div>
|
|
@@ -13891,6 +13966,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13891
13966
|
|
|
13892
13967
|
<p>GET a list of objects with an unknown filter parameter and strict filtering, expect a 400 response.</p>
|
|
13893
13968
|
|
|
13969
|
+
|
|
13894
13970
|
</div>
|
|
13895
13971
|
|
|
13896
13972
|
</div>
|
|
@@ -13908,6 +13984,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13908
13984
|
|
|
13909
13985
|
<p>GET a list of objects as an authenticated user without the required permission.</p>
|
|
13910
13986
|
|
|
13987
|
+
|
|
13911
13988
|
</div>
|
|
13912
13989
|
|
|
13913
13990
|
</div>
|
|
@@ -13925,6 +14002,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13925
14002
|
|
|
13926
14003
|
<p>Make an OPTIONS request for a list endpoint.</p>
|
|
13927
14004
|
|
|
14005
|
+
|
|
13928
14006
|
</div>
|
|
13929
14007
|
|
|
13930
14008
|
</div>
|
|
@@ -13950,7 +14028,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13950
14028
|
|
|
13951
14029
|
<div class="doc doc-contents ">
|
|
13952
14030
|
<p class="doc doc-class-bases">
|
|
13953
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.api.APITestCase" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
14031
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.APITestCase (nautobot.core.testing.api.APITestCase)" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
13954
14032
|
|
|
13955
14033
|
|
|
13956
14034
|
<p>Validate Notes URL on objects that have the Note model Mixin.</p>
|
|
@@ -13963,6 +14041,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13963
14041
|
|
|
13964
14042
|
|
|
13965
14043
|
|
|
14044
|
+
|
|
13966
14045
|
<div class="doc doc-children">
|
|
13967
14046
|
|
|
13968
14047
|
|
|
@@ -14005,6 +14084,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
14005
14084
|
|
|
14006
14085
|
|
|
14007
14086
|
|
|
14087
|
+
|
|
14008
14088
|
<div class="doc doc-children">
|
|
14009
14089
|
|
|
14010
14090
|
|
|
@@ -14029,6 +14109,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
14029
14109
|
<p>GET a list of objects using the "?depth=2" parameter.
|
|
14030
14110
|
TreeModel Only</p>
|
|
14031
14111
|
|
|
14112
|
+
|
|
14032
14113
|
</div>
|
|
14033
14114
|
|
|
14034
14115
|
</div>
|
|
@@ -14054,7 +14135,8 @@ TreeModel Only</p>
|
|
|
14054
14135
|
|
|
14055
14136
|
<div class="doc doc-contents ">
|
|
14056
14137
|
<p class="doc doc-class-bases">
|
|
14057
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.api.APITestCase" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
14138
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.APITestCase (nautobot.core.testing.api.APITestCase)" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
14139
|
+
|
|
14058
14140
|
|
|
14059
14141
|
|
|
14060
14142
|
|
|
@@ -14088,6 +14170,7 @@ TreeModel Only</p>
|
|
|
14088
14170
|
|
|
14089
14171
|
<p>PATCH a set of objects in a single request.</p>
|
|
14090
14172
|
|
|
14173
|
+
|
|
14091
14174
|
</div>
|
|
14092
14175
|
|
|
14093
14176
|
</div>
|
|
@@ -14105,6 +14188,7 @@ TreeModel Only</p>
|
|
|
14105
14188
|
|
|
14106
14189
|
<p>GET and then PUT an object and verify that it's accepted and unchanged.</p>
|
|
14107
14190
|
|
|
14191
|
+
|
|
14108
14192
|
</div>
|
|
14109
14193
|
|
|
14110
14194
|
</div>
|
|
@@ -14122,6 +14206,7 @@ TreeModel Only</p>
|
|
|
14122
14206
|
|
|
14123
14207
|
<p>Make an OPTIONS request for a list endpoint and validate choices match expected choices for serializer.</p>
|
|
14124
14208
|
|
|
14209
|
+
|
|
14125
14210
|
</div>
|
|
14126
14211
|
|
|
14127
14212
|
</div>
|
|
@@ -14139,6 +14224,7 @@ TreeModel Only</p>
|
|
|
14139
14224
|
|
|
14140
14225
|
<p>PATCH a single object identified by its ID.</p>
|
|
14141
14226
|
|
|
14227
|
+
|
|
14142
14228
|
</div>
|
|
14143
14229
|
|
|
14144
14230
|
</div>
|
|
@@ -14156,6 +14242,7 @@ TreeModel Only</p>
|
|
|
14156
14242
|
|
|
14157
14243
|
<p>PATCH a single object without permission.</p>
|
|
14158
14244
|
|
|
14245
|
+
|
|
14159
14246
|
</div>
|
|
14160
14247
|
|
|
14161
14248
|
</div>
|
|
@@ -14199,6 +14286,7 @@ TreeModel Only</p>
|
|
|
14199
14286
|
|
|
14200
14287
|
|
|
14201
14288
|
|
|
14289
|
+
|
|
14202
14290
|
<div class="doc doc-children">
|
|
14203
14291
|
|
|
14204
14292
|
|
|
@@ -14221,7 +14309,7 @@ TreeModel Only</p>
|
|
|
14221
14309
|
|
|
14222
14310
|
<div class="doc doc-contents ">
|
|
14223
14311
|
<p class="doc doc-class-bases">
|
|
14224
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.TestCase" href="#nautobot.apps.testing.TestCase">TestCase</a></code></p>
|
|
14312
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.TestCase (nautobot.core.testing.views.TestCase)" href="#nautobot.apps.testing.TestCase">TestCase</a></code></p>
|
|
14225
14313
|
|
|
14226
14314
|
|
|
14227
14315
|
<p>Base class for testing of FilterSets.</p>
|
|
@@ -14234,6 +14322,7 @@ TreeModel Only</p>
|
|
|
14234
14322
|
|
|
14235
14323
|
|
|
14236
14324
|
|
|
14325
|
+
|
|
14237
14326
|
<div class="doc doc-children">
|
|
14238
14327
|
|
|
14239
14328
|
|
|
@@ -14277,7 +14366,7 @@ passed to the queryset's filter(field_name__in=[]) method but will fail to match
|
|
|
14277
14366
|
<code>field_name</code>
|
|
14278
14367
|
</td>
|
|
14279
14368
|
<td>
|
|
14280
|
-
<code>str</code>
|
|
14369
|
+
<code><span title="str">str</span></code>
|
|
14281
14370
|
</td>
|
|
14282
14371
|
<td>
|
|
14283
14372
|
<div class="doc-md-description">
|
|
@@ -14319,7 +14408,7 @@ passed to the queryset's filter(field_name__in=[]) method but will fail to match
|
|
|
14319
14408
|
<tbody>
|
|
14320
14409
|
<tr class="doc-section-item">
|
|
14321
14410
|
<td>
|
|
14322
|
-
<code>list</code>
|
|
14411
|
+
<code><span title="list">list</span></code>
|
|
14323
14412
|
</td>
|
|
14324
14413
|
<td>
|
|
14325
14414
|
<div class="doc-md-description">
|
|
@@ -14342,7 +14431,7 @@ passed to the queryset's filter(field_name__in=[]) method but will fail to match
|
|
|
14342
14431
|
<tbody>
|
|
14343
14432
|
<tr class="doc-section-item">
|
|
14344
14433
|
<td>
|
|
14345
|
-
<code>ValueError</code>
|
|
14434
|
+
<code><span title="ValueError">ValueError</span></code>
|
|
14346
14435
|
</td>
|
|
14347
14436
|
<td>
|
|
14348
14437
|
<div class="doc-md-description">
|
|
@@ -14354,6 +14443,7 @@ to filter the queryset to a subset of the total instances.</p>
|
|
|
14354
14443
|
</tbody>
|
|
14355
14444
|
</table>
|
|
14356
14445
|
|
|
14446
|
+
|
|
14357
14447
|
</div>
|
|
14358
14448
|
|
|
14359
14449
|
</div>
|
|
@@ -14379,7 +14469,7 @@ to filter the queryset to a subset of the total instances.</p>
|
|
|
14379
14469
|
|
|
14380
14470
|
<div class="doc doc-contents ">
|
|
14381
14471
|
<p class="doc doc-class-bases">
|
|
14382
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.filters.FilterTestCases.BaseFilterTestCase" href="#nautobot.apps.testing.FilterTestCases.BaseFilterTestCase">BaseFilterTestCase</a></code></p>
|
|
14472
|
+
Bases: <code><a class="autorefs autorefs-internal" title="BaseFilterTestCase (nautobot.core.testing.filters.FilterTestCases.BaseFilterTestCase)" href="#nautobot.apps.testing.FilterTestCases.BaseFilterTestCase">BaseFilterTestCase</a></code></p>
|
|
14383
14473
|
|
|
14384
14474
|
|
|
14385
14475
|
<p>Add common tests for all FilterSets.</p>
|
|
@@ -14392,6 +14482,7 @@ to filter the queryset to a subset of the total instances.</p>
|
|
|
14392
14482
|
|
|
14393
14483
|
|
|
14394
14484
|
|
|
14485
|
+
|
|
14395
14486
|
<div class="doc doc-children">
|
|
14396
14487
|
|
|
14397
14488
|
|
|
@@ -14415,6 +14506,25 @@ to filter the queryset to a subset of the total instances.</p>
|
|
|
14415
14506
|
|
|
14416
14507
|
<p>Helper method to return q filter.</p>
|
|
14417
14508
|
|
|
14509
|
+
|
|
14510
|
+
</div>
|
|
14511
|
+
|
|
14512
|
+
</div>
|
|
14513
|
+
|
|
14514
|
+
<div class="doc doc-object doc-function">
|
|
14515
|
+
|
|
14516
|
+
|
|
14517
|
+
<h4 id="nautobot.apps.testing.FilterTestCases.FilterTestCase.test_automagic_filters" class="doc doc-heading">
|
|
14518
|
+
<code class="highlight language-python"><span class="n">test_automagic_filters</span><span class="p">()</span></code>
|
|
14519
|
+
|
|
14520
|
+
<a href="#nautobot.apps.testing.FilterTestCases.FilterTestCase.test_automagic_filters" class="headerlink" title="Permanent link">¶</a></h4>
|
|
14521
|
+
|
|
14522
|
+
|
|
14523
|
+
<div class="doc doc-contents ">
|
|
14524
|
+
|
|
14525
|
+
<p>https://github.com/nautobot/nautobot/issues/6656</p>
|
|
14526
|
+
|
|
14527
|
+
|
|
14418
14528
|
</div>
|
|
14419
14529
|
|
|
14420
14530
|
</div>
|
|
@@ -14430,11 +14540,12 @@ to filter the queryset to a subset of the total instances.</p>
|
|
|
14430
14540
|
|
|
14431
14541
|
<div class="doc doc-contents ">
|
|
14432
14542
|
|
|
14433
|
-
<p>Test all <code>RelatedMembershipBooleanFilter</code> filters found in <code>self.filterset.
|
|
14543
|
+
<p>Test all <code>RelatedMembershipBooleanFilter</code> filters found in <code>self.filterset.filters</code>
|
|
14434
14544
|
except for the ones with custom filter logic defined in its <code>method</code> attribute.</p>
|
|
14435
14545
|
<p>This test asserts that <code>filter=True</code> matches <code>self.queryset.filter(field__isnull=False)</code> and
|
|
14436
14546
|
that <code>filter=False</code> matches <code>self.queryset.filter(field__isnull=True)</code>.</p>
|
|
14437
14547
|
|
|
14548
|
+
|
|
14438
14549
|
</div>
|
|
14439
14550
|
|
|
14440
14551
|
</div>
|
|
@@ -14471,6 +14582,7 @@ For example, to test a NaturalKeyOrPKMultipleChoiceFilter, use:
|
|
|
14471
14582
|
)
|
|
14472
14583
|
This expects a field named <code>devices</code> on the model and a filter named <code>devices</code> on the filterset.</p>
|
|
14473
14584
|
|
|
14585
|
+
|
|
14474
14586
|
</div>
|
|
14475
14587
|
|
|
14476
14588
|
</div>
|
|
@@ -14488,6 +14600,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14488
14600
|
|
|
14489
14601
|
<p>Verify that the filterset supports filtering by id with only lookup <code>__n</code>.</p>
|
|
14490
14602
|
|
|
14603
|
+
|
|
14491
14604
|
</div>
|
|
14492
14605
|
|
|
14493
14606
|
</div>
|
|
@@ -14505,6 +14618,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14505
14618
|
|
|
14506
14619
|
<p>Verify that the filterset reports as invalid when initialized with an unsupported filter parameter.</p>
|
|
14507
14620
|
|
|
14621
|
+
|
|
14508
14622
|
</div>
|
|
14509
14623
|
|
|
14510
14624
|
</div>
|
|
@@ -14522,6 +14636,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14522
14636
|
|
|
14523
14637
|
<p>Test the <code>q</code> filter based on attributes in <code>filter_predicates</code>.</p>
|
|
14524
14638
|
|
|
14639
|
+
|
|
14525
14640
|
</div>
|
|
14526
14641
|
|
|
14527
14642
|
</div>
|
|
@@ -14539,6 +14654,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14539
14654
|
|
|
14540
14655
|
<p>Test the <code>tags</code> filter which should be present on all PrimaryModel filtersets.</p>
|
|
14541
14656
|
|
|
14657
|
+
|
|
14542
14658
|
</div>
|
|
14543
14659
|
|
|
14544
14660
|
</div>
|
|
@@ -14564,7 +14680,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14564
14680
|
|
|
14565
14681
|
<div class="doc doc-contents ">
|
|
14566
14682
|
<p class="doc doc-class-bases">
|
|
14567
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.filters.FilterTestCases.FilterTestCase" href="#nautobot.apps.testing.FilterTestCases.FilterTestCase">FilterTestCase</a></code></p>
|
|
14683
|
+
Bases: <code><a class="autorefs autorefs-internal" title="FilterTestCase (nautobot.core.testing.filters.FilterTestCases.FilterTestCase)" href="#nautobot.apps.testing.FilterTestCases.FilterTestCase">FilterTestCase</a></code></p>
|
|
14568
14684
|
|
|
14569
14685
|
|
|
14570
14686
|
<p>Add simple tests for filtering by name.</p>
|
|
@@ -14577,6 +14693,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14577
14693
|
|
|
14578
14694
|
|
|
14579
14695
|
|
|
14696
|
+
|
|
14580
14697
|
<div class="doc doc-children">
|
|
14581
14698
|
|
|
14582
14699
|
|
|
@@ -14608,7 +14725,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14608
14725
|
|
|
14609
14726
|
<div class="doc doc-contents ">
|
|
14610
14727
|
<p class="doc doc-class-bases">
|
|
14611
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.filters.FilterTestCases.FilterTestCase" href="#nautobot.apps.testing.FilterTestCases.FilterTestCase">FilterTestCase</a></code></p>
|
|
14728
|
+
Bases: <code><a class="autorefs autorefs-internal" title="FilterTestCase (nautobot.core.testing.filters.FilterTestCases.FilterTestCase)" href="#nautobot.apps.testing.FilterTestCases.FilterTestCase">FilterTestCase</a></code></p>
|
|
14612
14729
|
|
|
14613
14730
|
|
|
14614
14731
|
<p>Add simple tests for filtering by name and by slug.</p>
|
|
@@ -14621,6 +14738,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14621
14738
|
|
|
14622
14739
|
|
|
14623
14740
|
|
|
14741
|
+
|
|
14624
14742
|
<div class="doc doc-children">
|
|
14625
14743
|
|
|
14626
14744
|
|
|
@@ -14652,7 +14770,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14652
14770
|
|
|
14653
14771
|
<div class="doc doc-contents ">
|
|
14654
14772
|
<p class="doc doc-class-bases">
|
|
14655
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.TestCase" href="#nautobot.apps.testing.TestCase">TestCase</a></code></p>
|
|
14773
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.TestCase (nautobot.core.testing.views.TestCase)" href="#nautobot.apps.testing.TestCase">TestCase</a></code></p>
|
|
14656
14774
|
|
|
14657
14775
|
|
|
14658
14776
|
<p>Add test cases for tenant and tenant-group filters.</p>
|
|
@@ -14665,6 +14783,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14665
14783
|
|
|
14666
14784
|
|
|
14667
14785
|
|
|
14786
|
+
|
|
14668
14787
|
<div class="doc doc-children">
|
|
14669
14788
|
|
|
14670
14789
|
|
|
@@ -14714,6 +14833,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14714
14833
|
|
|
14715
14834
|
|
|
14716
14835
|
|
|
14836
|
+
|
|
14717
14837
|
<div class="doc doc-children">
|
|
14718
14838
|
|
|
14719
14839
|
|
|
@@ -14749,6 +14869,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14749
14869
|
|
|
14750
14870
|
|
|
14751
14871
|
|
|
14872
|
+
|
|
14752
14873
|
<div class="doc doc-children">
|
|
14753
14874
|
|
|
14754
14875
|
|
|
@@ -14789,7 +14910,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14789
14910
|
|
|
14790
14911
|
<div class="doc doc-contents ">
|
|
14791
14912
|
<p class="doc doc-class-bases">
|
|
14792
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.TestCase" href="#nautobot.apps.testing.TestCase">TestCase</a></code></p>
|
|
14913
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.TestCase (nautobot.core.testing.views.TestCase)" href="#nautobot.apps.testing.TestCase">TestCase</a></code></p>
|
|
14793
14914
|
|
|
14794
14915
|
|
|
14795
14916
|
<p>Parent class for TestCases which deal with models.</p>
|
|
@@ -14802,6 +14923,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14802
14923
|
|
|
14803
14924
|
|
|
14804
14925
|
|
|
14926
|
+
|
|
14805
14927
|
<div class="doc doc-children">
|
|
14806
14928
|
|
|
14807
14929
|
|
|
@@ -14842,6 +14964,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14842
14964
|
|
|
14843
14965
|
|
|
14844
14966
|
|
|
14967
|
+
|
|
14845
14968
|
<div class="doc doc-children">
|
|
14846
14969
|
|
|
14847
14970
|
|
|
@@ -14864,7 +14987,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14864
14987
|
|
|
14865
14988
|
<div class="doc doc-contents ">
|
|
14866
14989
|
<p class="doc doc-class-bases">
|
|
14867
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.mixins.NautobotTestCaseMixin" href="#nautobot.apps.testing.NautobotTestCaseMixin">NautobotTestCaseMixin</a></code>, <code><span title="django.test.TestCase">TestCase</span></code></p>
|
|
14990
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.NautobotTestCaseMixin (nautobot.core.testing.mixins.NautobotTestCaseMixin)" href="#nautobot.apps.testing.NautobotTestCaseMixin">NautobotTestCaseMixin</a></code>, <code><span title="django.test.TestCase">TestCase</span></code></p>
|
|
14868
14991
|
|
|
14869
14992
|
|
|
14870
14993
|
<p>Base class for generic model tests.</p>
|
|
@@ -14877,6 +15000,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14877
15000
|
|
|
14878
15001
|
|
|
14879
15002
|
|
|
15003
|
+
|
|
14880
15004
|
<div class="doc doc-children">
|
|
14881
15005
|
|
|
14882
15006
|
|
|
@@ -14900,6 +15024,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14900
15024
|
|
|
14901
15025
|
<p>Check that <code>composite_key</code> and filtering by <code>composite_key</code> both work.</p>
|
|
14902
15026
|
|
|
15027
|
+
|
|
14903
15028
|
</div>
|
|
14904
15029
|
|
|
14905
15030
|
</div>
|
|
@@ -14917,6 +15042,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14917
15042
|
|
|
14918
15043
|
<p>For dynamic-group capable models, check that they work as intended.</p>
|
|
14919
15044
|
|
|
15045
|
+
|
|
14920
15046
|
</div>
|
|
14921
15047
|
|
|
14922
15048
|
</div>
|
|
@@ -14934,6 +15060,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14934
15060
|
|
|
14935
15061
|
<p>Check that <code>get_docs_url()</code> returns a valid static file path for this model.</p>
|
|
14936
15062
|
|
|
15063
|
+
|
|
14937
15064
|
</div>
|
|
14938
15065
|
|
|
14939
15066
|
</div>
|
|
@@ -14951,6 +15078,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14951
15078
|
|
|
14952
15079
|
<p>Check that <code>natural_key()</code> and <code>get_by_natural_key()</code> work reciprocally.</p>
|
|
14953
15080
|
|
|
15081
|
+
|
|
14954
15082
|
</div>
|
|
14955
15083
|
|
|
14956
15084
|
</div>
|
|
@@ -14985,7 +15113,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14985
15113
|
|
|
14986
15114
|
<div class="doc doc-contents ">
|
|
14987
15115
|
<p class="doc doc-class-bases">
|
|
14988
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelTestCase" href="#nautobot.apps.testing.ModelTestCase">ModelTestCase</a></code></p>
|
|
15116
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelTestCase (nautobot.core.testing.views.ModelTestCase)" href="#nautobot.apps.testing.ModelTestCase">ModelTestCase</a></code></p>
|
|
14989
15117
|
|
|
14990
15118
|
|
|
14991
15119
|
<p>Base TestCase for model views. Subclass to test individual views.</p>
|
|
@@ -14998,6 +15126,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14998
15126
|
|
|
14999
15127
|
|
|
15000
15128
|
|
|
15129
|
+
|
|
15001
15130
|
<div class="doc doc-children">
|
|
15002
15131
|
|
|
15003
15132
|
|
|
@@ -15025,6 +15154,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
15025
15154
|
|
|
15026
15155
|
<p>Name of instance field to pass as a kwarg when looking up URLs for creating/editing/deleting a model instance.</p>
|
|
15027
15156
|
<p>If unspecified, "pk" and "slug" will be tried, in that order.</p>
|
|
15157
|
+
|
|
15028
15158
|
</div>
|
|
15029
15159
|
|
|
15030
15160
|
</div>
|
|
@@ -15063,6 +15193,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
15063
15193
|
|
|
15064
15194
|
|
|
15065
15195
|
|
|
15196
|
+
|
|
15066
15197
|
<div class="doc doc-children">
|
|
15067
15198
|
|
|
15068
15199
|
|
|
@@ -15086,6 +15217,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
15086
15217
|
|
|
15087
15218
|
<p>Populate your Nautobot data before migrating from the first migration to the second</p>
|
|
15088
15219
|
|
|
15220
|
+
|
|
15089
15221
|
</div>
|
|
15090
15222
|
|
|
15091
15223
|
</div>
|
|
@@ -15122,6 +15254,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
15122
15254
|
|
|
15123
15255
|
|
|
15124
15256
|
|
|
15257
|
+
|
|
15125
15258
|
<div class="doc doc-children">
|
|
15126
15259
|
|
|
15127
15260
|
|
|
@@ -15145,6 +15278,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
15145
15278
|
|
|
15146
15279
|
<p>Get the absolute API URL ("http://nautobot.example.com/api/...") for a given object.</p>
|
|
15147
15280
|
|
|
15281
|
+
|
|
15148
15282
|
</div>
|
|
15149
15283
|
|
|
15150
15284
|
</div>
|
|
@@ -15169,6 +15303,7 @@ Additional keyword arguments will be passed to the ObjectPermission constructor
|
|
|
15169
15303
|
<a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="gp">>>> </span><span class="n">add_permissions</span><span class="p">(</span><span class="s2">"ipam.add_vlangroup"</span><span class="p">,</span> <span class="s2">"ipam.view_vlangroup"</span><span class="p">,</span> <span class="n">constraints</span><span class="o">=</span><span class="p">{</span><span class="s2">"pk"</span><span class="p">:</span> <span class="s2">"uuid-1234"</span><span class="p">})</span>
|
|
15170
15304
|
</code></pre></div>
|
|
15171
15305
|
|
|
15306
|
+
|
|
15172
15307
|
</div>
|
|
15173
15308
|
|
|
15174
15309
|
</div>
|
|
@@ -15186,6 +15321,7 @@ Additional keyword arguments will be passed to the ObjectPermission constructor
|
|
|
15186
15321
|
|
|
15187
15322
|
<p>Like assertNumQueries, but fuzzier. Assert that the number of queries falls within an acceptable range.</p>
|
|
15188
15323
|
|
|
15324
|
+
|
|
15189
15325
|
</div>
|
|
15190
15326
|
|
|
15191
15327
|
</div>
|
|
@@ -15220,7 +15356,7 @@ Additional keyword arguments will be passed to the ObjectPermission constructor
|
|
|
15220
15356
|
<code>response</code>
|
|
15221
15357
|
</td>
|
|
15222
15358
|
<td>
|
|
15223
|
-
<code>HttpResponse</code>
|
|
15359
|
+
<code><span title="HttpResponse">HttpResponse</span></code>
|
|
15224
15360
|
</td>
|
|
15225
15361
|
<td>
|
|
15226
15362
|
<div class="doc-md-description">
|
|
@@ -15236,7 +15372,7 @@ Additional keyword arguments will be passed to the ObjectPermission constructor
|
|
|
15236
15372
|
<code>text</code>
|
|
15237
15373
|
</td>
|
|
15238
15374
|
<td>
|
|
15239
|
-
<code>str</code>
|
|
15375
|
+
<code><span title="str">str</span></code>
|
|
15240
15376
|
</td>
|
|
15241
15377
|
<td>
|
|
15242
15378
|
<div class="doc-md-description">
|
|
@@ -15252,7 +15388,7 @@ Additional keyword arguments will be passed to the ObjectPermission constructor
|
|
|
15252
15388
|
<code>count</code>
|
|
15253
15389
|
</td>
|
|
15254
15390
|
<td>
|
|
15255
|
-
<code>int</code>
|
|
15391
|
+
<code><span title="int">int</span></code>
|
|
15256
15392
|
</td>
|
|
15257
15393
|
<td>
|
|
15258
15394
|
<div class="doc-md-description">
|
|
@@ -15269,7 +15405,7 @@ it's present at all.</p>
|
|
|
15269
15405
|
<code>status_code</code>
|
|
15270
15406
|
</td>
|
|
15271
15407
|
<td>
|
|
15272
|
-
<code>int</code>
|
|
15408
|
+
<code><span title="int">int</span></code>
|
|
15273
15409
|
</td>
|
|
15274
15410
|
<td>
|
|
15275
15411
|
<div class="doc-md-description">
|
|
@@ -15285,7 +15421,7 @@ it's present at all.</p>
|
|
|
15285
15421
|
<code>html</code>
|
|
15286
15422
|
</td>
|
|
15287
15423
|
<td>
|
|
15288
|
-
<code>bool</code>
|
|
15424
|
+
<code><span title="bool">bool</span></code>
|
|
15289
15425
|
</td>
|
|
15290
15426
|
<td>
|
|
15291
15427
|
<div class="doc-md-description">
|
|
@@ -15299,6 +15435,7 @@ it's present at all.</p>
|
|
|
15299
15435
|
</tbody>
|
|
15300
15436
|
</table>
|
|
15301
15437
|
|
|
15438
|
+
|
|
15302
15439
|
</div>
|
|
15303
15440
|
|
|
15304
15441
|
</div>
|
|
@@ -15316,6 +15453,7 @@ it's present at all.</p>
|
|
|
15316
15453
|
|
|
15317
15454
|
<p>TestCase method. Provide more detail in the event of an unexpected HTTP response.</p>
|
|
15318
15455
|
|
|
15456
|
+
|
|
15319
15457
|
</div>
|
|
15320
15458
|
|
|
15321
15459
|
</div>
|
|
@@ -15338,6 +15476,7 @@ in the dictionary.</p>
|
|
|
15338
15476
|
:param exclude: List of fields to exclude from comparison (e.g. passwords, which get hashed)
|
|
15339
15477
|
:param api: Set to True is the data is a JSON representation of the instance</p>
|
|
15340
15478
|
|
|
15479
|
+
|
|
15341
15480
|
</div>
|
|
15342
15481
|
|
|
15343
15482
|
</div>
|
|
@@ -15355,6 +15494,7 @@ in the dictionary.</p>
|
|
|
15355
15494
|
|
|
15356
15495
|
<p>Assert that the given job_result has the expected_status, or print the job logs to aid in debugging.</p>
|
|
15357
15496
|
|
|
15497
|
+
|
|
15358
15498
|
</div>
|
|
15359
15499
|
|
|
15360
15500
|
</div>
|
|
@@ -15372,6 +15512,7 @@ in the dictionary.</p>
|
|
|
15372
15512
|
|
|
15373
15513
|
<p>Wrapper for assertQuerysetEqual with additional logic to assert input queryset and values are not empty</p>
|
|
15374
15514
|
|
|
15515
|
+
|
|
15375
15516
|
</div>
|
|
15376
15517
|
|
|
15377
15518
|
</div>
|
|
@@ -15394,6 +15535,7 @@ in the dictionary.</p>
|
|
|
15394
15535
|
<p>Create and return a Tag instance for each name given.</p>
|
|
15395
15536
|
<p>DEPRECATED: use TagFactory instead.</p>
|
|
15396
15537
|
|
|
15538
|
+
|
|
15397
15539
|
</div>
|
|
15398
15540
|
|
|
15399
15541
|
</div>
|
|
@@ -15411,6 +15553,7 @@ in the dictionary.</p>
|
|
|
15411
15553
|
|
|
15412
15554
|
<p>Return a dictionary representation of an instance.</p>
|
|
15413
15555
|
|
|
15556
|
+
|
|
15414
15557
|
</div>
|
|
15415
15558
|
|
|
15416
15559
|
</div>
|
|
@@ -15429,6 +15572,7 @@ in the dictionary.</p>
|
|
|
15429
15572
|
<p>Test cases can override this method to perform any necessary manipulation of an instance prior to its evaluation
|
|
15430
15573
|
against test data. For example, it can be used to decrypt a Secret's plaintext attribute.</p>
|
|
15431
15574
|
|
|
15575
|
+
|
|
15432
15576
|
</div>
|
|
15433
15577
|
|
|
15434
15578
|
</div>
|
|
@@ -15453,6 +15597,7 @@ Additional keyword arguments will be passed to the ObjectPermission constructor
|
|
|
15453
15597
|
<a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="gp">>>> </span><span class="n">remove_permissions</span><span class="p">(</span><span class="s2">"ipam.add_vlangroup"</span><span class="p">,</span> <span class="s2">"ipam.view_vlangroup"</span><span class="p">,</span> <span class="n">constraints</span><span class="o">=</span><span class="p">{</span><span class="s2">"pk"</span><span class="p">:</span> <span class="s2">"uuid-1234"</span><span class="p">})</span>
|
|
15454
15598
|
</code></pre></div>
|
|
15455
15599
|
|
|
15600
|
+
|
|
15456
15601
|
</div>
|
|
15457
15602
|
|
|
15458
15603
|
</div>
|
|
@@ -15470,6 +15615,7 @@ Additional keyword arguments will be passed to the ObjectPermission constructor
|
|
|
15470
15615
|
|
|
15471
15616
|
<p>Setup shared testuser, statuses and client.</p>
|
|
15472
15617
|
|
|
15618
|
+
|
|
15473
15619
|
</div>
|
|
15474
15620
|
|
|
15475
15621
|
</div>
|
|
@@ -15492,6 +15638,7 @@ data changes occur, but in practice we've seen issues here. Best guess at presen
|
|
|
15492
15638
|
that would otherwise refresh the cache appropriately.</p>
|
|
15493
15639
|
<p>See also: https://code.djangoproject.com/ticket/11505</p>
|
|
15494
15640
|
|
|
15641
|
+
|
|
15495
15642
|
</div>
|
|
15496
15643
|
|
|
15497
15644
|
</div>
|
|
@@ -15531,6 +15678,7 @@ that would otherwise refresh the cache appropriately.</p>
|
|
|
15531
15678
|
|
|
15532
15679
|
|
|
15533
15680
|
|
|
15681
|
+
|
|
15534
15682
|
<div class="doc doc-children">
|
|
15535
15683
|
|
|
15536
15684
|
|
|
@@ -15556,6 +15704,7 @@ that would otherwise refresh the cache appropriately.</p>
|
|
|
15556
15704
|
<p>This matches the ALLOWED_HOSTS set in nautobot/core/tests/nautobot_config.py and
|
|
15557
15705
|
helps to protect us against issues like https://github.com/nautobot/nautobot/issues/3065.</p>
|
|
15558
15706
|
|
|
15707
|
+
|
|
15559
15708
|
</div>
|
|
15560
15709
|
|
|
15561
15710
|
</div>
|
|
@@ -15590,6 +15739,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15590
15739
|
|
|
15591
15740
|
|
|
15592
15741
|
|
|
15742
|
+
|
|
15593
15743
|
<div class="doc doc-children">
|
|
15594
15744
|
|
|
15595
15745
|
|
|
@@ -15612,7 +15762,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15612
15762
|
|
|
15613
15763
|
<div class="doc doc-contents ">
|
|
15614
15764
|
<p class="doc doc-class-bases">
|
|
15615
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.TestCase" href="#nautobot.apps.testing.TestCase">TestCase</a></code></p>
|
|
15765
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.TestCase (nautobot.core.testing.views.TestCase)" href="#nautobot.apps.testing.TestCase">TestCase</a></code></p>
|
|
15616
15766
|
|
|
15617
15767
|
|
|
15618
15768
|
<p>Base class for testing of the OpenAPI schema.</p>
|
|
@@ -15625,6 +15775,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15625
15775
|
|
|
15626
15776
|
|
|
15627
15777
|
|
|
15778
|
+
|
|
15628
15779
|
<div class="doc doc-children">
|
|
15629
15780
|
|
|
15630
15781
|
|
|
@@ -15648,6 +15799,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15648
15799
|
|
|
15649
15800
|
<p>Test method to assert that this polymorphic component has the expected permitted types.</p>
|
|
15650
15801
|
|
|
15802
|
+
|
|
15651
15803
|
</div>
|
|
15652
15804
|
|
|
15653
15805
|
</div>
|
|
@@ -15665,6 +15817,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15665
15817
|
|
|
15666
15818
|
<p>Test method to assert that the given component property is marked as non-nullable.</p>
|
|
15667
15819
|
|
|
15820
|
+
|
|
15668
15821
|
</div>
|
|
15669
15822
|
|
|
15670
15823
|
</div>
|
|
@@ -15682,6 +15835,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15682
15835
|
|
|
15683
15836
|
<p>Test method to assert that the given component property is not marked as read-only.</p>
|
|
15684
15837
|
|
|
15838
|
+
|
|
15685
15839
|
</div>
|
|
15686
15840
|
|
|
15687
15841
|
</div>
|
|
@@ -15699,6 +15853,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15699
15853
|
|
|
15700
15854
|
<p>Test method to assert that the given component property is marked as nullable.</p>
|
|
15701
15855
|
|
|
15856
|
+
|
|
15702
15857
|
</div>
|
|
15703
15858
|
|
|
15704
15859
|
</div>
|
|
@@ -15716,6 +15871,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15716
15871
|
|
|
15717
15872
|
<p>Test method to assert that the given component property is marked as read-only.</p>
|
|
15718
15873
|
|
|
15874
|
+
|
|
15719
15875
|
</div>
|
|
15720
15876
|
|
|
15721
15877
|
</div>
|
|
@@ -15733,6 +15889,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15733
15889
|
|
|
15734
15890
|
<p>Helper method to pull a specific component schema from the larger OpenAPI schema already loaded.</p>
|
|
15735
15891
|
|
|
15892
|
+
|
|
15736
15893
|
</div>
|
|
15737
15894
|
|
|
15738
15895
|
</div>
|
|
@@ -15750,6 +15907,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15750
15907
|
|
|
15751
15908
|
<p>Helper method to identify a component referenced by the given property of the current component.</p>
|
|
15752
15909
|
|
|
15910
|
+
|
|
15753
15911
|
</div>
|
|
15754
15912
|
|
|
15755
15913
|
</div>
|
|
@@ -15767,6 +15925,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15767
15925
|
|
|
15768
15926
|
<p>Helper method to pull a specific property schema from a larger component schema already extracted.</p>
|
|
15769
15927
|
|
|
15928
|
+
|
|
15770
15929
|
</div>
|
|
15771
15930
|
|
|
15772
15931
|
</div>
|
|
@@ -15802,7 +15961,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15802
15961
|
<tbody>
|
|
15803
15962
|
<tr class="doc-section-item">
|
|
15804
15963
|
<td>
|
|
15805
|
-
<code>Tuple[ref_component_name
|
|
15964
|
+
<code><span title="Tuple">Tuple</span>[<span title="ref_component_name">ref_component_name</span>, <span title="ref_component_schema">ref_component_schema</span>]</code>
|
|
15806
15965
|
</td>
|
|
15807
15966
|
<td>
|
|
15808
15967
|
<div class="doc-md-description">
|
|
@@ -15813,6 +15972,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15813
15972
|
</tbody>
|
|
15814
15973
|
</table>
|
|
15815
15974
|
|
|
15975
|
+
|
|
15816
15976
|
</div>
|
|
15817
15977
|
|
|
15818
15978
|
</div>
|
|
@@ -15847,7 +16007,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15847
16007
|
|
|
15848
16008
|
<div class="doc doc-contents ">
|
|
15849
16009
|
<p class="doc doc-class-bases">
|
|
15850
|
-
Bases: <code><span title="django.contrib.staticfiles.testing.StaticLiveServerTestCase">StaticLiveServerTestCase</span></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.NautobotTestCaseMixin" href="#nautobot.apps.testing.NautobotTestCaseMixin">NautobotTestCaseMixin</a></code></p>
|
|
16010
|
+
Bases: <code><span title="django.contrib.staticfiles.testing.StaticLiveServerTestCase">StaticLiveServerTestCase</span></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.NautobotTestCaseMixin (nautobot.core.testing.NautobotTestCaseMixin)" href="#nautobot.apps.testing.NautobotTestCaseMixin">NautobotTestCaseMixin</a></code></p>
|
|
15851
16011
|
|
|
15852
16012
|
|
|
15853
16013
|
<p>Base test case for Splinter Selenium integration testing with custom helper methods.</p>
|
|
@@ -15862,6 +16022,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
15862
16022
|
|
|
15863
16023
|
|
|
15864
16024
|
|
|
16025
|
+
|
|
15865
16026
|
<div class="doc doc-children">
|
|
15866
16027
|
|
|
15867
16028
|
|
|
@@ -15885,6 +16046,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
15885
16046
|
|
|
15886
16047
|
<p>Helper function to click the "Create" button on a form.</p>
|
|
15887
16048
|
|
|
16049
|
+
|
|
15888
16050
|
</div>
|
|
15889
16051
|
|
|
15890
16052
|
</div>
|
|
@@ -15902,6 +16064,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
15902
16064
|
|
|
15903
16065
|
<p>Helper function to click the "Add" button on a list view.</p>
|
|
15904
16066
|
|
|
16067
|
+
|
|
15905
16068
|
</div>
|
|
15906
16069
|
|
|
15907
16070
|
</div>
|
|
@@ -15919,6 +16082,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
15919
16082
|
|
|
15920
16083
|
<p>Helper function to click on a parent menu and child menu in the navigation bar.</p>
|
|
15921
16084
|
|
|
16085
|
+
|
|
15922
16086
|
</div>
|
|
15923
16087
|
|
|
15924
16088
|
</div>
|
|
@@ -15936,6 +16100,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
15936
16100
|
|
|
15937
16101
|
<p>Helper function to fill a Select2 single selection field on filters modals.</p>
|
|
15938
16102
|
|
|
16103
|
+
|
|
15939
16104
|
</div>
|
|
15940
16105
|
|
|
15941
16106
|
</div>
|
|
@@ -15953,6 +16118,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
15953
16118
|
|
|
15954
16119
|
<p>Helper function to fill a Select2 single selection field on add/edit forms.</p>
|
|
15955
16120
|
|
|
16121
|
+
|
|
15956
16122
|
</div>
|
|
15957
16123
|
|
|
15958
16124
|
</div>
|
|
@@ -15970,6 +16136,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
15970
16136
|
|
|
15971
16137
|
<p>Helper function to fill a Select2 multi-selection field.</p>
|
|
15972
16138
|
|
|
16139
|
+
|
|
15973
16140
|
</div>
|
|
15974
16141
|
|
|
15975
16142
|
</div>
|
|
@@ -15987,6 +16154,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
15987
16154
|
|
|
15988
16155
|
<p>Navigate to <code>login_url</code> and perform a login w/ the provided <code>username</code> and <code>password</code>.</p>
|
|
15989
16156
|
|
|
16157
|
+
|
|
15990
16158
|
</div>
|
|
15991
16159
|
|
|
15992
16160
|
</div>
|
|
@@ -16008,6 +16176,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
16008
16176
|
|
|
16009
16177
|
<p>Close down the browser after tests are ran.</p>
|
|
16010
16178
|
|
|
16179
|
+
|
|
16011
16180
|
</div>
|
|
16012
16181
|
|
|
16013
16182
|
</div>
|
|
@@ -16033,7 +16202,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
16033
16202
|
|
|
16034
16203
|
<div class="doc doc-contents ">
|
|
16035
16204
|
<p class="doc doc-class-bases">
|
|
16036
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.mixins.NautobotTestCaseMixin" href="#nautobot.apps.testing.NautobotTestCaseMixin">NautobotTestCaseMixin</a></code>, <code><span title="django.test.TestCase">TestCase</span></code></p>
|
|
16205
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.NautobotTestCaseMixin (nautobot.core.testing.mixins.NautobotTestCaseMixin)" href="#nautobot.apps.testing.NautobotTestCaseMixin">NautobotTestCaseMixin</a></code>, <code><span title="django.test.TestCase">TestCase</span></code></p>
|
|
16037
16206
|
|
|
16038
16207
|
|
|
16039
16208
|
<p>Base class for all Nautobot-specific unit tests.</p>
|
|
@@ -16046,6 +16215,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
16046
16215
|
|
|
16047
16216
|
|
|
16048
16217
|
|
|
16218
|
+
|
|
16049
16219
|
<div class="doc doc-children">
|
|
16050
16220
|
|
|
16051
16221
|
|
|
@@ -16069,6 +16239,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
16069
16239
|
|
|
16070
16240
|
<p>Initialize user and client.</p>
|
|
16071
16241
|
|
|
16242
|
+
|
|
16072
16243
|
</div>
|
|
16073
16244
|
|
|
16074
16245
|
</div>
|
|
@@ -16094,7 +16265,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
16094
16265
|
|
|
16095
16266
|
<div class="doc doc-contents ">
|
|
16096
16267
|
<p class="doc doc-class-bases">
|
|
16097
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.mixins.NautobotTestCaseMixin" href="#nautobot.apps.testing.NautobotTestCaseMixin">NautobotTestCaseMixin</a></code>, <code><span title="django.test.TransactionTestCase">TransactionTestCase</span></code></p>
|
|
16268
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.NautobotTestCaseMixin (nautobot.core.testing.mixins.NautobotTestCaseMixin)" href="#nautobot.apps.testing.NautobotTestCaseMixin">NautobotTestCaseMixin</a></code>, <code><span title="django.test.TransactionTestCase">TransactionTestCase</span></code></p>
|
|
16098
16269
|
|
|
16099
16270
|
|
|
16100
16271
|
<p>Base test case class using the TransactionTestCase for unit testing</p>
|
|
@@ -16107,6 +16278,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
16107
16278
|
|
|
16108
16279
|
|
|
16109
16280
|
|
|
16281
|
+
|
|
16110
16282
|
<div class="doc doc-children">
|
|
16111
16283
|
|
|
16112
16284
|
|
|
@@ -16132,6 +16304,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
16132
16304
|
<p>django.test.TransactionTestCase truncates the database after each test runs. We need at least the default
|
|
16133
16305
|
statuses present in the database in order to run tests.</p>
|
|
16134
16306
|
|
|
16307
|
+
|
|
16135
16308
|
</div>
|
|
16136
16309
|
|
|
16137
16310
|
</div>
|
|
@@ -16168,6 +16341,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16168
16341
|
|
|
16169
16342
|
|
|
16170
16343
|
|
|
16344
|
+
|
|
16171
16345
|
<div class="doc doc-children">
|
|
16172
16346
|
|
|
16173
16347
|
|
|
@@ -16190,7 +16364,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16190
16364
|
|
|
16191
16365
|
<div class="doc doc-contents ">
|
|
16192
16366
|
<p class="doc doc-class-bases">
|
|
16193
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16367
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16194
16368
|
|
|
16195
16369
|
|
|
16196
16370
|
<p>Delete multiple instances.</p>
|
|
@@ -16203,6 +16377,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16203
16377
|
|
|
16204
16378
|
|
|
16205
16379
|
|
|
16380
|
+
|
|
16206
16381
|
<div class="doc doc-children">
|
|
16207
16382
|
|
|
16208
16383
|
|
|
@@ -16228,6 +16403,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16228
16403
|
<p>For some models this may just be any random objects, but when we have FKs with <code>on_delete=models.PROTECT</code>
|
|
16229
16404
|
(as is often the case) we need to find or create an instance that doesn't have such entanglements.</p>
|
|
16230
16405
|
|
|
16406
|
+
|
|
16231
16407
|
</div>
|
|
16232
16408
|
|
|
16233
16409
|
</div>
|
|
@@ -16253,7 +16429,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16253
16429
|
|
|
16254
16430
|
<div class="doc doc-contents ">
|
|
16255
16431
|
<p class="doc doc-class-bases">
|
|
16256
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16432
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16257
16433
|
|
|
16258
16434
|
|
|
16259
16435
|
<p>Edit multiple instances.</p>
|
|
@@ -16268,6 +16444,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16268
16444
|
|
|
16269
16445
|
|
|
16270
16446
|
|
|
16447
|
+
|
|
16271
16448
|
<div class="doc doc-children">
|
|
16272
16449
|
|
|
16273
16450
|
|
|
@@ -16291,6 +16468,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16291
16468
|
|
|
16292
16469
|
<p>Assert that "set null" fields on the bulk-edit form are correctly passed through to the job.</p>
|
|
16293
16470
|
|
|
16471
|
+
|
|
16294
16472
|
</div>
|
|
16295
16473
|
|
|
16296
16474
|
</div>
|
|
@@ -16316,7 +16494,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16316
16494
|
|
|
16317
16495
|
<div class="doc doc-contents ">
|
|
16318
16496
|
<p class="doc doc-class-bases">
|
|
16319
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16497
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16320
16498
|
|
|
16321
16499
|
|
|
16322
16500
|
<p>Rename multiple instances.</p>
|
|
@@ -16329,6 +16507,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16329
16507
|
|
|
16330
16508
|
|
|
16331
16509
|
|
|
16510
|
+
|
|
16332
16511
|
<div class="doc doc-children">
|
|
16333
16512
|
|
|
16334
16513
|
|
|
@@ -16360,7 +16539,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16360
16539
|
|
|
16361
16540
|
<div class="doc doc-contents ">
|
|
16362
16541
|
<p class="doc doc-class-bases">
|
|
16363
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16542
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16364
16543
|
|
|
16365
16544
|
|
|
16366
16545
|
<p>Create multiple instances using a single form. Expects the creation of three new instances by default.</p>
|
|
@@ -16375,6 +16554,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16375
16554
|
|
|
16376
16555
|
|
|
16377
16556
|
|
|
16557
|
+
|
|
16378
16558
|
<div class="doc doc-children">
|
|
16379
16559
|
|
|
16380
16560
|
|
|
@@ -16406,7 +16586,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16406
16586
|
|
|
16407
16587
|
<div class="doc doc-contents ">
|
|
16408
16588
|
<p class="doc doc-class-bases">
|
|
16409
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16589
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16410
16590
|
|
|
16411
16591
|
|
|
16412
16592
|
<p>Create a single new instance.</p>
|
|
@@ -16420,6 +16600,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16420
16600
|
|
|
16421
16601
|
|
|
16422
16602
|
|
|
16603
|
+
|
|
16423
16604
|
<div class="doc doc-children">
|
|
16424
16605
|
|
|
16425
16606
|
|
|
@@ -16451,7 +16632,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16451
16632
|
|
|
16452
16633
|
<div class="doc doc-contents ">
|
|
16453
16634
|
<p class="doc doc-class-bases">
|
|
16454
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16635
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16455
16636
|
|
|
16456
16637
|
|
|
16457
16638
|
<p>Delete a single instance.</p>
|
|
@@ -16464,6 +16645,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16464
16645
|
|
|
16465
16646
|
|
|
16466
16647
|
|
|
16648
|
+
|
|
16467
16649
|
<div class="doc doc-children">
|
|
16468
16650
|
|
|
16469
16651
|
|
|
@@ -16489,6 +16671,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16489
16671
|
<p>For some models this may just be any random object, but when we have FKs with <code>on_delete=models.PROTECT</code>
|
|
16490
16672
|
(as is often the case) we need to find or create an instance that doesn't have such entanglements.</p>
|
|
16491
16673
|
|
|
16674
|
+
|
|
16492
16675
|
</div>
|
|
16493
16676
|
|
|
16494
16677
|
</div>
|
|
@@ -16514,7 +16697,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16514
16697
|
|
|
16515
16698
|
<div class="doc doc-contents ">
|
|
16516
16699
|
<p class="doc doc-class-bases">
|
|
16517
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.EditObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.EditObjectViewTestCase">EditObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.DeleteObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.DeleteObjectViewTestCase">DeleteObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.CreateMultipleObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.CreateMultipleObjectsViewTestCase">CreateMultipleObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.BulkEditObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.BulkEditObjectsViewTestCase">BulkEditObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.BulkRenameObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.BulkRenameObjectsViewTestCase">BulkRenameObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.BulkDeleteObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.BulkDeleteObjectsViewTestCase">BulkDeleteObjectsViewTestCase</a></code></p>
|
|
16700
|
+
Bases: <code><a class="autorefs autorefs-internal" title="EditObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.EditObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.EditObjectViewTestCase">EditObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="DeleteObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.DeleteObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.DeleteObjectViewTestCase">DeleteObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="CreateMultipleObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.CreateMultipleObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.CreateMultipleObjectsViewTestCase">CreateMultipleObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="BulkEditObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.BulkEditObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.BulkEditObjectsViewTestCase">BulkEditObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="BulkRenameObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.BulkRenameObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.BulkRenameObjectsViewTestCase">BulkRenameObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="BulkDeleteObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.BulkDeleteObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.BulkDeleteObjectsViewTestCase">BulkDeleteObjectsViewTestCase</a></code></p>
|
|
16518
16701
|
|
|
16519
16702
|
|
|
16520
16703
|
<p>TestCase suitable for testing device component template models (ConsolePortTemplates, InterfaceTemplates, etc.)</p>
|
|
@@ -16527,6 +16710,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16527
16710
|
|
|
16528
16711
|
|
|
16529
16712
|
|
|
16713
|
+
|
|
16530
16714
|
<div class="doc doc-children">
|
|
16531
16715
|
|
|
16532
16716
|
|
|
@@ -16558,7 +16742,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16558
16742
|
|
|
16559
16743
|
<div class="doc doc-contents ">
|
|
16560
16744
|
<p class="doc doc-class-bases">
|
|
16561
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.GetObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.GetObjectViewTestCase">GetObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.GetObjectChangelogViewTestCase" href="#nautobot.apps.testing.ViewTestCases.GetObjectChangelogViewTestCase">GetObjectChangelogViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.GetObjectNotesViewTestCase" href="#nautobot.apps.testing.ViewTestCases.GetObjectNotesViewTestCase">GetObjectNotesViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.EditObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.EditObjectViewTestCase">EditObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.DeleteObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.DeleteObjectViewTestCase">DeleteObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.ListObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.ListObjectsViewTestCase">ListObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.CreateMultipleObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.CreateMultipleObjectsViewTestCase">CreateMultipleObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.BulkEditObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.BulkEditObjectsViewTestCase">BulkEditObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.BulkRenameObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.BulkRenameObjectsViewTestCase">BulkRenameObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.BulkDeleteObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.BulkDeleteObjectsViewTestCase">BulkDeleteObjectsViewTestCase</a></code></p>
|
|
16745
|
+
Bases: <code><a class="autorefs autorefs-internal" title="GetObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.GetObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.GetObjectViewTestCase">GetObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="GetObjectChangelogViewTestCase (nautobot.core.testing.views.ViewTestCases.GetObjectChangelogViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.GetObjectChangelogViewTestCase">GetObjectChangelogViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="GetObjectNotesViewTestCase (nautobot.core.testing.views.ViewTestCases.GetObjectNotesViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.GetObjectNotesViewTestCase">GetObjectNotesViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="EditObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.EditObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.EditObjectViewTestCase">EditObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="DeleteObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.DeleteObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.DeleteObjectViewTestCase">DeleteObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="ListObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.ListObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.ListObjectsViewTestCase">ListObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="CreateMultipleObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.CreateMultipleObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.CreateMultipleObjectsViewTestCase">CreateMultipleObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="BulkEditObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.BulkEditObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.BulkEditObjectsViewTestCase">BulkEditObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="BulkRenameObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.BulkRenameObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.BulkRenameObjectsViewTestCase">BulkRenameObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="BulkDeleteObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.BulkDeleteObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.BulkDeleteObjectsViewTestCase">BulkDeleteObjectsViewTestCase</a></code></p>
|
|
16562
16746
|
|
|
16563
16747
|
|
|
16564
16748
|
<p>TestCase suitable for testing device component models (ConsolePorts, Interfaces, etc.)</p>
|
|
@@ -16571,6 +16755,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16571
16755
|
|
|
16572
16756
|
|
|
16573
16757
|
|
|
16758
|
+
|
|
16574
16759
|
<div class="doc doc-children">
|
|
16575
16760
|
|
|
16576
16761
|
|
|
@@ -16597,6 +16782,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16597
16782
|
<div class="doc doc-contents ">
|
|
16598
16783
|
|
|
16599
16784
|
<p>Used for bulk-add (distinct from bulk-create) view testing; self.bulk_create_data will be used if unset.</p>
|
|
16785
|
+
|
|
16600
16786
|
</div>
|
|
16601
16787
|
|
|
16602
16788
|
</div>
|
|
@@ -16616,6 +16802,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16616
16802
|
|
|
16617
16803
|
<p>Test bulk-adding this component to devices/virtual-machines.</p>
|
|
16618
16804
|
|
|
16805
|
+
|
|
16619
16806
|
</div>
|
|
16620
16807
|
|
|
16621
16808
|
</div>
|
|
@@ -16641,7 +16828,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16641
16828
|
|
|
16642
16829
|
<div class="doc doc-contents ">
|
|
16643
16830
|
<p class="doc doc-class-bases">
|
|
16644
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16831
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16645
16832
|
|
|
16646
16833
|
|
|
16647
16834
|
<p>Edit a single existing instance.</p>
|
|
@@ -16656,6 +16843,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16656
16843
|
|
|
16657
16844
|
|
|
16658
16845
|
|
|
16846
|
+
|
|
16659
16847
|
<div class="doc doc-children">
|
|
16660
16848
|
|
|
16661
16849
|
|
|
@@ -16687,7 +16875,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16687
16875
|
|
|
16688
16876
|
<div class="doc doc-contents ">
|
|
16689
16877
|
<p class="doc doc-class-bases">
|
|
16690
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16878
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16691
16879
|
|
|
16692
16880
|
|
|
16693
16881
|
<p>View the changelog for an instance.</p>
|
|
@@ -16700,6 +16888,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16700
16888
|
|
|
16701
16889
|
|
|
16702
16890
|
|
|
16891
|
+
|
|
16703
16892
|
<div class="doc doc-children">
|
|
16704
16893
|
|
|
16705
16894
|
|
|
@@ -16731,7 +16920,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16731
16920
|
|
|
16732
16921
|
<div class="doc doc-contents ">
|
|
16733
16922
|
<p class="doc doc-class-bases">
|
|
16734
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16923
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16735
16924
|
|
|
16736
16925
|
|
|
16737
16926
|
<p>View the notes for an instance.</p>
|
|
@@ -16744,6 +16933,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16744
16933
|
|
|
16745
16934
|
|
|
16746
16935
|
|
|
16936
|
+
|
|
16747
16937
|
<div class="doc doc-children">
|
|
16748
16938
|
|
|
16749
16939
|
|
|
@@ -16775,7 +16965,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16775
16965
|
|
|
16776
16966
|
<div class="doc doc-contents ">
|
|
16777
16967
|
<p class="doc doc-class-bases">
|
|
16778
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16968
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16779
16969
|
|
|
16780
16970
|
|
|
16781
16971
|
<p>Retrieve a single instance.</p>
|
|
@@ -16788,6 +16978,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16788
16978
|
|
|
16789
16979
|
|
|
16790
16980
|
|
|
16981
|
+
|
|
16791
16982
|
<div class="doc doc-children">
|
|
16792
16983
|
|
|
16793
16984
|
|
|
@@ -16819,7 +17010,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16819
17010
|
|
|
16820
17011
|
<div class="doc doc-contents ">
|
|
16821
17012
|
<p class="doc doc-class-bases">
|
|
16822
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
17013
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16823
17014
|
|
|
16824
17015
|
|
|
16825
17016
|
<p>Retrieve multiple instances.</p>
|
|
@@ -16832,6 +17023,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16832
17023
|
|
|
16833
17024
|
|
|
16834
17025
|
|
|
17026
|
+
|
|
16835
17027
|
<div class="doc doc-children">
|
|
16836
17028
|
|
|
16837
17029
|
|
|
@@ -16855,6 +17047,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16855
17047
|
|
|
16856
17048
|
<p>Verify that without STRICT_FILTERING, an unknown filter is ignored.</p>
|
|
16857
17049
|
|
|
17050
|
+
|
|
16858
17051
|
</div>
|
|
16859
17052
|
|
|
16860
17053
|
</div>
|
|
@@ -16872,6 +17065,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16872
17065
|
|
|
16873
17066
|
<p>Verify that with STRICT_FILTERING, an unknown filter results in an error message and no matches.</p>
|
|
16874
17067
|
|
|
17068
|
+
|
|
16875
17069
|
</div>
|
|
16876
17070
|
|
|
16877
17071
|
</div>
|
|
@@ -16889,6 +17083,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16889
17083
|
|
|
16890
17084
|
<p>If example app is installed, check if the app banner is rendered correctly in ObjectListView.</p>
|
|
16891
17085
|
|
|
17086
|
+
|
|
16892
17087
|
</div>
|
|
16893
17088
|
|
|
16894
17089
|
</div>
|
|
@@ -16914,7 +17109,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16914
17109
|
|
|
16915
17110
|
<div class="doc doc-contents ">
|
|
16916
17111
|
<p class="doc doc-class-bases">
|
|
16917
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.GetObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.GetObjectViewTestCase">GetObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.GetObjectChangelogViewTestCase" href="#nautobot.apps.testing.ViewTestCases.GetObjectChangelogViewTestCase">GetObjectChangelogViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.GetObjectNotesViewTestCase" href="#nautobot.apps.testing.ViewTestCases.GetObjectNotesViewTestCase">GetObjectNotesViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.CreateObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.CreateObjectViewTestCase">CreateObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.EditObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.EditObjectViewTestCase">EditObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.DeleteObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.DeleteObjectViewTestCase">DeleteObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.ListObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.ListObjectsViewTestCase">ListObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.BulkDeleteObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.BulkDeleteObjectsViewTestCase">BulkDeleteObjectsViewTestCase</a></code></p>
|
|
17112
|
+
Bases: <code><a class="autorefs autorefs-internal" title="GetObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.GetObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.GetObjectViewTestCase">GetObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="GetObjectChangelogViewTestCase (nautobot.core.testing.views.ViewTestCases.GetObjectChangelogViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.GetObjectChangelogViewTestCase">GetObjectChangelogViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="GetObjectNotesViewTestCase (nautobot.core.testing.views.ViewTestCases.GetObjectNotesViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.GetObjectNotesViewTestCase">GetObjectNotesViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="CreateObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.CreateObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.CreateObjectViewTestCase">CreateObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="EditObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.EditObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.EditObjectViewTestCase">EditObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="DeleteObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.DeleteObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.DeleteObjectViewTestCase">DeleteObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="ListObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.ListObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.ListObjectsViewTestCase">ListObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="BulkDeleteObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.BulkDeleteObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.BulkDeleteObjectsViewTestCase">BulkDeleteObjectsViewTestCase</a></code></p>
|
|
16918
17113
|
|
|
16919
17114
|
|
|
16920
17115
|
<p>TestCase suitable for all organizational objects</p>
|
|
@@ -16927,6 +17122,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16927
17122
|
|
|
16928
17123
|
|
|
16929
17124
|
|
|
17125
|
+
|
|
16930
17126
|
<div class="doc doc-children">
|
|
16931
17127
|
|
|
16932
17128
|
|
|
@@ -16958,7 +17154,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16958
17154
|
|
|
16959
17155
|
<div class="doc doc-contents ">
|
|
16960
17156
|
<p class="doc doc-class-bases">
|
|
16961
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.GetObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.GetObjectViewTestCase">GetObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.GetObjectChangelogViewTestCase" href="#nautobot.apps.testing.ViewTestCases.GetObjectChangelogViewTestCase">GetObjectChangelogViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.GetObjectNotesViewTestCase" href="#nautobot.apps.testing.ViewTestCases.GetObjectNotesViewTestCase">GetObjectNotesViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.CreateObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.CreateObjectViewTestCase">CreateObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.EditObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.EditObjectViewTestCase">EditObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.DeleteObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.DeleteObjectViewTestCase">DeleteObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.ListObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.ListObjectsViewTestCase">ListObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.BulkEditObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.BulkEditObjectsViewTestCase">BulkEditObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.BulkDeleteObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.BulkDeleteObjectsViewTestCase">BulkDeleteObjectsViewTestCase</a></code></p>
|
|
17157
|
+
Bases: <code><a class="autorefs autorefs-internal" title="GetObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.GetObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.GetObjectViewTestCase">GetObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="GetObjectChangelogViewTestCase (nautobot.core.testing.views.ViewTestCases.GetObjectChangelogViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.GetObjectChangelogViewTestCase">GetObjectChangelogViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="GetObjectNotesViewTestCase (nautobot.core.testing.views.ViewTestCases.GetObjectNotesViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.GetObjectNotesViewTestCase">GetObjectNotesViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="CreateObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.CreateObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.CreateObjectViewTestCase">CreateObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="EditObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.EditObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.EditObjectViewTestCase">EditObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="DeleteObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.DeleteObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.DeleteObjectViewTestCase">DeleteObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="ListObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.ListObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.ListObjectsViewTestCase">ListObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="BulkEditObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.BulkEditObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.BulkEditObjectsViewTestCase">BulkEditObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="BulkDeleteObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.BulkDeleteObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.BulkDeleteObjectsViewTestCase">BulkDeleteObjectsViewTestCase</a></code></p>
|
|
16962
17158
|
|
|
16963
17159
|
|
|
16964
17160
|
<p>TestCase suitable for testing all standard View functions for primary objects</p>
|
|
@@ -16971,6 +17167,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16971
17167
|
|
|
16972
17168
|
|
|
16973
17169
|
|
|
17170
|
+
|
|
16974
17171
|
<div class="doc doc-children">
|
|
16975
17172
|
|
|
16976
17173
|
|
|
@@ -17012,6 +17209,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
17012
17209
|
|
|
17013
17210
|
<p>Test helper function to call get_job_class_and_model() then call run_job_for_testing().</p>
|
|
17014
17211
|
|
|
17212
|
+
|
|
17015
17213
|
</div>
|
|
17016
17214
|
|
|
17017
17215
|
</div>
|
|
@@ -17029,6 +17227,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
17029
17227
|
|
|
17030
17228
|
<p>Create a User with the given permissions.</p>
|
|
17031
17229
|
|
|
17230
|
+
|
|
17032
17231
|
</div>
|
|
17033
17232
|
|
|
17034
17233
|
</div>
|
|
@@ -17046,6 +17245,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
17046
17245
|
|
|
17047
17246
|
<p>Temporarily suppress expected warning messages to keep the test output clean.</p>
|
|
17048
17247
|
|
|
17248
|
+
|
|
17049
17249
|
</div>
|
|
17050
17250
|
|
|
17051
17251
|
</div>
|
|
@@ -17063,6 +17263,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
17063
17263
|
|
|
17064
17264
|
<p>Given decoded HTML content from an HTTP response, return a list of form errors.</p>
|
|
17065
17265
|
|
|
17266
|
+
|
|
17066
17267
|
</div>
|
|
17067
17268
|
|
|
17068
17269
|
</div>
|
|
@@ -17102,6 +17303,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17102
17303
|
</script></body>
|
|
17103
17304
|
</html>
|
|
17104
17305
|
|
|
17306
|
+
|
|
17105
17307
|
</div>
|
|
17106
17308
|
|
|
17107
17309
|
</div>
|
|
@@ -17119,6 +17321,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17119
17321
|
|
|
17120
17322
|
<p>For testing purposes only; it returns a random string of size 100 consisting of letters and numbers.</p>
|
|
17121
17323
|
|
|
17324
|
+
|
|
17122
17325
|
</div>
|
|
17123
17326
|
|
|
17124
17327
|
</div>
|
|
@@ -17136,6 +17339,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17136
17339
|
|
|
17137
17340
|
<p>Returns a subset of objects in the given queryset that have no protected relationships that would prevent deletion.</p>
|
|
17138
17341
|
|
|
17342
|
+
|
|
17139
17343
|
</div>
|
|
17140
17344
|
|
|
17141
17345
|
</div>
|
|
@@ -17170,7 +17374,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17170
17374
|
<code>module</code>
|
|
17171
17375
|
</td>
|
|
17172
17376
|
<td>
|
|
17173
|
-
<code>str</code>
|
|
17377
|
+
<code><span title="str">str</span></code>
|
|
17174
17378
|
</td>
|
|
17175
17379
|
<td>
|
|
17176
17380
|
<div class="doc-md-description">
|
|
@@ -17186,7 +17390,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17186
17390
|
<code>name</code>
|
|
17187
17391
|
</td>
|
|
17188
17392
|
<td>
|
|
17189
|
-
<code>str</code>
|
|
17393
|
+
<code><span title="str">str</span></code>
|
|
17190
17394
|
</td>
|
|
17191
17395
|
<td>
|
|
17192
17396
|
<div class="doc-md-description">
|
|
@@ -17202,7 +17406,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17202
17406
|
<code>source</code>
|
|
17203
17407
|
</td>
|
|
17204
17408
|
<td>
|
|
17205
|
-
<code>str</code>
|
|
17409
|
+
<code><span title="str">str</span></code>
|
|
17206
17410
|
</td>
|
|
17207
17411
|
<td>
|
|
17208
17412
|
<div class="doc-md-description">
|
|
@@ -17239,6 +17443,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17239
17443
|
</tbody>
|
|
17240
17444
|
</table>
|
|
17241
17445
|
|
|
17446
|
+
|
|
17242
17447
|
</div>
|
|
17243
17448
|
|
|
17244
17449
|
</div>
|
|
@@ -17256,6 +17461,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17256
17461
|
|
|
17257
17462
|
<p>Take a dictionary of test data (suitable for comparison to an instance) and return a dict suitable for POSTing.</p>
|
|
17258
17463
|
|
|
17464
|
+
|
|
17259
17465
|
</div>
|
|
17260
17466
|
|
|
17261
17467
|
</div>
|
|
@@ -17306,7 +17512,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17306
17512
|
<code>username</code>
|
|
17307
17513
|
</td>
|
|
17308
17514
|
<td>
|
|
17309
|
-
<code>str</code>
|
|
17515
|
+
<code><span title="str">str</span></code>
|
|
17310
17516
|
</td>
|
|
17311
17517
|
<td>
|
|
17312
17518
|
<div class="doc-md-description">
|
|
@@ -17322,7 +17528,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17322
17528
|
<code>profile</code>
|
|
17323
17529
|
</td>
|
|
17324
17530
|
<td>
|
|
17325
|
-
<code>bool</code>
|
|
17531
|
+
<code><span title="bool">bool</span></code>
|
|
17326
17532
|
</td>
|
|
17327
17533
|
<td>
|
|
17328
17534
|
<div class="doc-md-description">
|
|
@@ -17350,7 +17556,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17350
17556
|
<tr class="doc-section-item">
|
|
17351
17557
|
<td><code>**kwargs</code></td>
|
|
17352
17558
|
<td>
|
|
17353
|
-
<code>any</code>
|
|
17559
|
+
<code><span title="any">any</span></code>
|
|
17354
17560
|
</td>
|
|
17355
17561
|
<td>
|
|
17356
17562
|
<div class="doc-md-description">
|
|
@@ -17384,6 +17590,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17384
17590
|
</tbody>
|
|
17385
17591
|
</table>
|
|
17386
17592
|
|
|
17593
|
+
|
|
17387
17594
|
</div>
|
|
17388
17595
|
|
|
17389
17596
|
</div>
|