Commit ccd3a249 authored by lukas.burgey's avatar lukas.burgey

Test the userinfo copies

parent 7200a7bd
Pipeline #110416 passed with stage
in 1 minute and 23 seconds
......@@ -276,6 +276,7 @@ def test_login_changed_userinfo_redeploy(user, deployed_vo_deployment):
# this should cause the republishing of the deployment
state.refresh_from_db()
assert state.is_pending
assert state.userinfo['name'] == 'new name'
def test_upstream_changed_userinfo_redeploy(user, deployed_vo_deployment, upstream_test_client):
......@@ -293,7 +294,9 @@ def test_upstream_changed_userinfo_redeploy(user, deployed_vo_deployment, upstre
# this should cause the republishing of the deployment
state.refresh_from_db()
assert state.is_pending
assert state.userinfo['name'] == 'new name'
# }}}
# SERIALIZERS {{{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment