remove access checks from domain methods

This commit is contained in:
dandds
2019-03-19 10:47:53 -04:00
parent 1974c89e9c
commit 0ea21fbb9b
18 changed files with 149 additions and 151 deletions

View File

@@ -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)