rs_server_common/utils/pytest/pytest_authentication_utils.md
Utility authentication functions used by the pytest unit tests.
init_app_cluster_mode()
Init the FastAPI application with all the cluster mode features (local mode=0)
Source code in docs/rs-server/services/common/rs_server_common/utils/pytest/pytest_authentication_utils.py
42 43 44 45 46 47 48 49 50 51 52 53 | |
init_authentication_test(mocker, httpx_mock, client, test_apikey, test_oauth2, iam_roles, mock_wrong_apikey=False, user_login='pyteam')
async
Init mockers for tests in cluster mode with authentication.
Source code in docs/rs-server/services/common/rs_server_common/utils/pytest/pytest_authentication_utils.py
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | |