You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unit tests to cover most of mig/shared/base.py (#366)
Unit tests to cover about 90% of `mig/shared/base.py` wrapping existing self-tests and adding tests for most helper functions. Uses shared `before_each` method and `testconfig` provisioning to isolate configuration between tests.
* Adds fundamental coverage of client_dir_id, get_site_base_url, mask_creds, extract_field, distinguished_name_to_user, fill_distinguished_name, fill_user, canonical_user, generate_https_urls, allow_script, canonical_user_with_peers, invisible_path, requested_page, verify_local_url, brief_list and auth_type_description.
* Cover requested_url_base with some pending TODOs in corner cases of the implementation.
* Splits out legacy self-tests as suggested in GH review explicitly wrapping it as legacy_main for simplicity.
0 commit comments