Maintenance will be performed on git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org tomorrow, 2020/08/04, starting at approximately 9am PDT. It is expected to take around 15 minutes and there will be a short period of downtime towards the end of the maintenance window. Please direct any comments, questions or concerns to computing-help@ligo.org.

Commit 8e5979d1 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB

bugfix: update_grbevent unit tests were issuing LVAlerts

parent 9c1f7953
......@@ -70,7 +70,7 @@ def test_access(internal_user, internal_group, standard_plus_grb_user):
request.user = standard_plus_grb_user
view = GrbEventPatchView.as_view()
with mock.patch('api.v1.events.views.EventAlertIssuer'):
with mock.patch('gracedb.api.v1.events.views.EventAlertIssuer'):
# Process request
response = view(request, grbevent.graceid)
response.render()
......@@ -105,7 +105,7 @@ def test_parameter_updates(grb_user, internal_group, data):
request.user = grb_user
view = GrbEventPatchView.as_view()
with mock.patch('api.v1.events.views.EventAlertIssuer'):
with mock.patch('gracedb.api.v1.events.views.EventAlertIssuer'):
# Process request
response = view(request, grbevent.graceid)
response.render()
......@@ -140,7 +140,7 @@ def test_update_with_no_new_data(grb_user, internal_group, data):
request.user = grb_user
view = GrbEventPatchView.as_view()
with mock.patch('api.v1.events.views.EventAlertIssuer'):
with mock.patch('gracedb.api.v1.events.views.EventAlertIssuer'):
# Process request
response = view(request, grbevent.graceid)
response.render()
......@@ -169,7 +169,7 @@ def test_update_with_bad_data(grb_user, internal_group, data):
request.user = grb_user
view = GrbEventPatchView.as_view()
with mock.patch('api.v1.events.views.EventAlertIssuer'):
with mock.patch('gracedb.api.v1.events.views.EventAlertIssuer'):
# Process request
response = view(request, grbevent.graceid)
response.render()
......@@ -198,7 +198,7 @@ def test_update_non_grbevent(grb_user, internal_group):
request.user = grb_user
view = GrbEventPatchView.as_view()
with mock.patch('api.v1.events.views.EventAlertIssuer'):
with mock.patch('gracedb.api.v1.events.views.EventAlertIssuer'):
# Process request
response = view(request, event.graceid)
response.render()
......
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