Skip to content

Commit

Permalink
Correct a testing problem (hopefully).
Browse files Browse the repository at this point in the history
  • Loading branch information
netsettler committed Oct 25, 2023
1 parent 263ce0a commit 60b5ef1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_validation_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
import re

from dcicutils.bundle_utils import inflate
from .helpers import using_fresh_ff_state_for_testing
from dcicutils.misc_utils import AbstractVirtualApp, NamedObject, json_file_contents, to_snake_case, to_camel_case
from dcicutils.qa_utils import MockResponse, printed_output
from dcicutils.validation_utils import SchemaManager, validate_data_against_schemas, summary_of_data_validation_errors
from .conftest_settings import TEST_DIR
from .helpers_for_bundles import SAMPLE_WORKBOOK_WITH_NAME_REFS


@using_fresh_ff_state_for_testing()
def test_schema_manager_simple():

print() # start on a fresh line
Expand All @@ -33,6 +35,7 @@ def test_schema_manager_simple():
assert schema_manager_1.override_schemas == {}


@using_fresh_ff_state_for_testing()
@pytest.mark.parametrize('schema_id', ['user', 'User'])
def test_schema_manager_with_schemas(schema_id):

Expand Down Expand Up @@ -66,6 +69,7 @@ def test_schema_manager_with_schemas(schema_id):
assert schema_manager_2.SCHEMA_CACHE == {}


@using_fresh_ff_state_for_testing()
def test_schema_manager_identifying_value():

with pytest.raises(ValueError) as exc:
Expand Down

0 comments on commit 60b5ef1

Please sign in to comment.