Skip to content

Commit 4959d83

Browse files
committed
remove low value unit tests
1 parent 591aa7a commit 4959d83

2 files changed

Lines changed: 0 additions & 22 deletions

File tree

tests/sdk/test_async_benchmark.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,6 @@ async def test_remove_scenarios(self, mock_async_client: AsyncMock, benchmark_vi
7979
"bmd_123", scenarios_to_remove=["scn_001"]
8080
)
8181

82-
async def test_list_runs_empty(self, mock_async_client: AsyncMock) -> None:
83-
"""Test list_runs method with empty results."""
84-
page = SimpleNamespace(runs=[])
85-
mock_async_client.benchmarks.runs.list = AsyncMock(return_value=page)
86-
87-
benchmark = AsyncBenchmark(mock_async_client, "bmd_123")
88-
result = await benchmark.list_runs()
89-
90-
assert len(result) == 0
91-
mock_async_client.benchmarks.runs.list.assert_awaited_once_with(benchmark_id="bmd_123")
92-
9382
async def test_list_runs_single(
9483
self, mock_async_client: AsyncMock, benchmark_run_view: MockBenchmarkRunView
9584
) -> None:

tests/sdk/test_benchmark.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,6 @@ def test_remove_scenarios(self, mock_client: Mock, benchmark_view: MockBenchmark
7777
assert result == benchmark_view
7878
mock_client.benchmarks.update_scenarios.assert_called_once_with("bmd_123", scenarios_to_remove=["scn_001"])
7979

80-
def test_list_runs_empty(self, mock_client: Mock) -> None:
81-
"""Test list_runs method with empty results."""
82-
page = SimpleNamespace(runs=[])
83-
mock_client.benchmarks.runs.list.return_value = page
84-
85-
benchmark = Benchmark(mock_client, "bmd_123")
86-
result = benchmark.list_runs()
87-
88-
assert len(result) == 0
89-
mock_client.benchmarks.runs.list.assert_called_once_with(benchmark_id="bmd_123")
90-
9180
def test_list_runs_single(self, mock_client: Mock, benchmark_run_view: MockBenchmarkRunView) -> None:
9281
"""Test list_runs method with single result."""
9382
page = SimpleNamespace(runs=[benchmark_run_view])

0 commit comments

Comments
 (0)