Core
This package contains tests of the integreat_cms.core app
- Management
- Commands
- Test Cleanup Machine Translation Flags And Reports
- Test Copy Places
- Test Delete Orphaned Region Media
- Test Duplicate Pages
- Test Find Large Files
- Test Find Missing Versions
- Test Fix Internal Links
test_fix_internal_links_commit()test_fix_internal_links_commit_skips_version_conflicts()test_fix_internal_links_dry_run()test_fix_internal_links_non_existing_region()test_fix_internal_links_non_existing_username()test_fix_internal_links_skips_links_without_public_target_translation()test_fix_internal_links_skips_organization_links()
- Test Hix Bulk
- Test Import Events
CALENDARSserve()setup_calendar()test_daily_event_not_imported()test_delete_event()test_import_and_remove_recurrence_rule()test_import_corrupted_event()test_import_event_with_correct_tag()test_import_event_with_multiple_categories()test_import_event_with_wrong_tag()test_import_event_without_tags()test_import_successful()test_import_without_calendars()test_update_event()
- Test Import Places From Csv
- Test Repair Tree
- Test Replace Links
- Test Reset Deepl Budget
- Test Send Push Notifications
- Test Update Link Text
- Utils
- Commands
- Utils
- Test Machine Translation Celery Task
spy_queue_mt_report()stub_language_report()stub_translate_queryset()stub_unsupported_mt_provider()task_kwargs()test_cache_lock_keys_deleted_for_every_object_and_language()test_content_objects_data_for_push_notification_omits_content_only_fields()test_content_objects_data_reflects_freshly_created_translation()test_content_type_resolves_form_and_translation_model()test_empty_object_ids_and_language_slugs_completes()test_flag_cleared_after_exception()test_flag_scoped_to_requested_objects_only()test_flag_set_during_translation_and_cleared_after()test_lock_released_after_validation_failure()test_one_language_failure_does_not_abort_others()test_progress_reported_per_language()test_start_machine_translations_scoped_to_async_content_types()test_unknown_content_type_reports_failure()test_unknown_region_id_reports_failure()test_unknown_user_id_reports_failure()test_unsupported_provider_skips_language_without_aborting()update_state_calls()
- Test Machine Translation Celery Task