Skip to content

Commit

Permalink
remove unnecessary test
Browse files Browse the repository at this point in the history
  • Loading branch information
TamarZanzouri committed Feb 15, 2024
1 parent cd678f5 commit f3df950
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions robot-server/tests/protocols/test_analysis_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from datetime import datetime, timezone
from pathlib import Path
from typing import List, NamedTuple, Union
from typing import List, NamedTuple

import pytest

Expand Down Expand Up @@ -38,8 +38,6 @@
ProtocolResource,
)

from opentrons_shared_data.errors import EnumeratedError, ErrorCodes


@pytest.fixture
def protocol_store(sql_engine: SQLEngine) -> ProtocolStore:
Expand Down Expand Up @@ -230,7 +228,7 @@ class AnalysisResultSpec(NamedTuple):
"""Spec data for analysis result tests."""

commands: List[pe_commands.Command]
errors: List[Union[pe_errors.ErrorOccurrence, EnumeratedError]]
errors: List[pe_errors.ErrorOccurrence]
expected_result: AnalysisResult


Expand Down Expand Up @@ -261,11 +259,6 @@ class AnalysisResultSpec(NamedTuple):
],
expected_result=AnalysisResult.NOT_OK,
),
AnalysisResultSpec(
commands=[],
errors=[EnumeratedError(code=ErrorCodes.GENERAL_ERROR, message="oh no!")],
expected_result=AnalysisResult.NOT_OK,
),
]


Expand Down

0 comments on commit f3df950

Please sign in to comment.