put requests workflow tests behind a feature toggle

This commit is contained in:
dandds
2019-01-07 16:03:40 -05:00
parent 3612fcca6c
commit 08806eed24
18 changed files with 129 additions and 33 deletions

View File

@@ -1,3 +1,4 @@
import pytest
import re
from flask import url_for
@@ -6,6 +7,7 @@ from atst.models.request_status_event import RequestStatus
from tests.factories import RequestFactory, LegacyTaskOrderFactory, UserFactory
@pytest.mark.requests_workflow
def test_can_show_financial_data(client, user_session):
user = UserFactory.create()
user_session(user)
@@ -24,6 +26,7 @@ def test_can_show_financial_data(client, user_session):
assert re.search(r">\s+Financial Verification\s+<", body)
@pytest.mark.requests_workflow
def test_can_not_show_financial_data(client, user_session):
user = UserFactory.create()
user_session(user)