This PR adds support for migrating data from OpsGenie to Grafana IRM. Closes https://github.com/grafana/irm/issues/1179
9 lines
279 B
Python
9 lines
279 B
Python
from lib.common.resources.users import match_user
|
|
|
|
|
|
def test_match_user_email_case_insensitive():
|
|
pd_user = {"email": "test@test.com"}
|
|
oncall_users = [{"email": "TEST@TEST.COM"}]
|
|
|
|
match_user(pd_user, oncall_users)
|
|
assert pd_user["oncall_user"] == oncall_users[0]
|