run reformatter
This commit is contained in:
@@ -6,7 +6,10 @@ from atst.models.request_status_event import RequestStatus
|
||||
from atst.domain.roles import Roles
|
||||
|
||||
from tests.factories import (
|
||||
RequestFactory, TaskOrderFactory, UserFactory, RequestReviewFactory
|
||||
RequestFactory,
|
||||
TaskOrderFactory,
|
||||
UserFactory,
|
||||
RequestReviewFactory,
|
||||
)
|
||||
|
||||
|
||||
|
@@ -30,13 +30,11 @@ def test_ccpo_sees_approval_screen():
|
||||
request = RequestFactory.create()
|
||||
Requests.submit(request)
|
||||
ccpo_context = RequestsIndex(ccpo).execute()
|
||||
assert (
|
||||
ccpo_context["requests"][0]["edit_link"]
|
||||
== url_for("requests.approval", request_id=request.id)
|
||||
assert ccpo_context["requests"][0]["edit_link"] == url_for(
|
||||
"requests.approval", request_id=request.id
|
||||
)
|
||||
|
||||
mo_context = RequestsIndex(request.creator).execute()
|
||||
assert (
|
||||
mo_context["requests"][0]["edit_link"]
|
||||
!= url_for("requests.approval", request_id=request.id)
|
||||
assert mo_context["requests"][0]["edit_link"] != url_for(
|
||||
"requests.approval", request_id=request.id
|
||||
)
|
||||
|
Reference in New Issue
Block a user