Fix test
This commit is contained in:
parent
c6062c0418
commit
1d2befa660
@ -298,8 +298,7 @@ def test_get_for_update_information():
|
|||||||
assert portfolio == admin_ws
|
assert portfolio == admin_ws
|
||||||
|
|
||||||
ccpo = UserFactory.from_atat_role("ccpo")
|
ccpo = UserFactory.from_atat_role("ccpo")
|
||||||
with pytest.raises(UnauthorizedError):
|
assert Portfolios.get_for_update_information(ccpo, portfolio.id)
|
||||||
Portfolios.get_for_update_information(ccpo, portfolio.id)
|
|
||||||
|
|
||||||
|
|
||||||
def test_can_create_portfolios_with_matching_names():
|
def test_can_create_portfolios_with_matching_names():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user