def METHOD_NAME(cli_tester, testproject):
    cli_tester.monkeypatch.setattr(
        "brownie._cli.ethpm._list",
        lambda project_path: cli_tester.raise_type_error_exception("foobar"),
    )
    cli_tester.run_and_test_parameters("ethpm list", parameters=None)
    assert cli_tester.mock_subroutines.called is False
    assert cli_tester.mock_subroutines.call_count == 0