remove access checks from domain methods
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import pytest
|
||||
from flask import url_for
|
||||
from io import BytesIO
|
||||
import re
|
||||
@@ -62,6 +63,7 @@ class TestDownloadCSPEstimate:
|
||||
)
|
||||
assert response.status_code == 404
|
||||
|
||||
@pytest.mark.auth
|
||||
def test_download_with_wrong_user(self, client, user_session):
|
||||
other_user = UserFactory.create()
|
||||
user_session(other_user)
|
||||
|
Reference in New Issue
Block a user