Skip to content

Commit 70a098d

Browse files
committed
Remove obsolete tests for checking None envconfig
We have already Pydantic validation, no need to check.
1 parent d257f1d commit 70a098d

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

tests/cli/cmd_validate/test_process.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,6 @@ async def test_process_file_with_generic_parsing_error(
5757
assert "Generic test error" in captured.err
5858

5959

60-
async def test_process_no_envconfig(mock_context):
61-
mock_context.envconfig = None
62-
with pytest.raises(ValueError,
63-
match=re.escape("No envconfig found in context.")):
64-
await process(mock_context, xmlfiles=(Path("dummy.xml"),))
65-
66-
6760
@patch.object(process_module, "process_file", new_callable=AsyncMock, return_value=0)
6861
@patch.object(process_module, "create_stitchfile", new_callable=AsyncMock)
6962
async def test_process_with_stitchfile_failure(

0 commit comments

Comments
 (0)