Skip to content

Commit 773c6ba

Browse files
committed
stabilize plugin catalog table test
1 parent 66ae2c7 commit 773c6ba

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

packages/data-designer/tests/cli/controllers/test_plugin_catalog_controller.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@
33

44
from __future__ import annotations
55

6-
from io import StringIO
76
from pathlib import Path
87
from unittest.mock import MagicMock, call, patch
98

109
import pytest
1110
import typer
12-
from rich.console import Console
1311
from rich.table import Table
1412
from rich.text import Text
1513

@@ -170,16 +168,6 @@ def test_run_list_renders_package_first_catalog_table(
170168
== "https://raw.githubusercontent.com/acme/dd-plugins/main/catalog/plugins.json"
171169
)
172170

173-
rendered_output = StringIO()
174-
narrow_console = Console(
175-
file=rendered_output,
176-
force_terminal=True,
177-
color_system="standard",
178-
width=60,
179-
legacy_windows=False,
180-
)
181-
narrow_console.print(printed_tables[0])
182-
assert "https://docs.example.test/plugins/data-designer-text-transform/" in rendered_output.getvalue()
183171
controller.catalog_service.group_entries_by_package.assert_called_once_with(package_entries)
184172

185173

0 commit comments

Comments
 (0)