Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
modifying values to avoid call by reference
  • Loading branch information
abhidnya13 committed Mar 11, 2020
commit 3c397c3e988d3f1c059c6eae340791311ed3ae01
6 changes: 4 additions & 2 deletions tests/test_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,12 +510,14 @@ def test_adfs2019_onprem_acquire_token_by_auth_code(self):
def test_acquire_token_obo(self):
config = self.get_lab_user(usertype="cloud")

config_cca = config
config_cca = {}
config_cca.update(config)
config_cca["client_id"] = "f4aa5217-e87c-42b2-82af-5624dd14ee72"
config_cca["scope"] = ["https://graph.microsoft.com/.default"]
config_cca["client_secret"] = os.getenv("LAB_OBO_CLIENT_SECRET")

config_pca = config
config_pca = {}
config_pca.update(config)
config_pca["client_id"] = "c0485386-1e9a-4663-bc96-7ab30656de7f"
config_pca["password"] = self.get_lab_user_secret(config_pca["lab_name"])
config_pca["scope"] = ["api://%s/read" % config_cca["client_id"]]
Expand Down