mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 13:39:27 -02:30
* Moving reconcile_users_org_team_mappings into common library * Renaming pipeline to social_pipeline * Breaking out SAML and generic Social Auth * Optimizing SMAL login process * Moving extraction of org in teams from backends into sso/common.create_orgs_and_teams * Altering saml_pipeline from testing Prefixing all internal functions with _ Modified subfunctions to not return values but instead manipulate multable objects Modified all functions to not add duplicate orgs to the orgs_to_create list * Updating the common function to respect a teams organization name * Added can_create flag to create_org_and_teams This made testing easier and allows for any adapter with a flag the ability to simply pass it into a function * Multiple changes to SAML pipeline Removed orgs_to_create from being passed into user_team functions, common create orgs code will add any team orgs to list of orgs automatically Passed SAML_AUTO_CREATE_OBJECTS flag into create_org_and_teams Fix bug where we were looking at values instead of keys Added loading of all teams if remove flag is set in update_user_teams_by_saml_attr * Moving common items between SAML and Social into a 'base' * Updating and adding testing * Renamed get_or_create_with_default_galaxy_cred to get_or_create_org_...
13 lines
202 B
Python
13 lines
202 B
Python
import pytest
|
|
|
|
|
|
@pytest.mark.parametrize(
|
|
"lib",
|
|
[
|
|
("saml_pipeline"),
|
|
("social_pipeline"),
|
|
],
|
|
)
|
|
def test_module_loads(lib):
|
|
module = __import__("awx.sso." + lib) # noqa
|