Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions tests/config/config_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
_deep_merge,
_resolve_sequence_model_profile
)
from sciencebeam_parser.resources.default_config import DEFAULT_CONFIG_FILE


MINIMAL_PROFILE_CONFIG = {
Expand Down Expand Up @@ -293,12 +292,3 @@ def test_should_override_bool_value_with_env_var(
config = AppConfig.load_yaml(str(config_path))
config = config.apply_environment_variables()
assert config.props['key1'] is False


class TestDefaultConfigProfiles:
def _resolve_models(self, profile_name: str) -> dict:
config = AppConfig.load_yaml(DEFAULT_CONFIG_FILE)
return config.resolve_profile(profile_name)['models']

def test_grobid_custom_hybrid_inherits_every_grobid_crf_model(self):
assert self._resolve_models('grobid_custom_hybrid') == self._resolve_models('grobid_crf')
Loading