def consumestore_fixture(consumemodel_fixture):
    """Test fixture to ensure correct mocking for parsedpage."""
    test_consumemodel = consumemodel_fixture
    test_consumemodel.load_from_config(TEST_CONFIG)
    return consumestore.get_instance(
        test_consumemodel,
        img_dir=TEST_PATH,
        data_dir=TEST_PATH
    )
def test_save_media_raises_typeerror_on_non_model():
    """Test consumestore.get_instance raises a TypeError when expected."""
    with pytest.raises(TypeError):
        consumestore.get_instance(
            model=''
        )