Skip to content

Commit

Permalink
adjust test for new api surface
Browse files Browse the repository at this point in the history
  • Loading branch information
CDJellen committed Nov 17, 2024
1 parent ca8aff4 commit 4d46d84
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tests/test_ndbc_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,19 +267,6 @@ def test_get_data(ndbc_api, monkeypatch, mock_socket, read_responses,
use_timestamp=True,
as_df=True)

handler = ndbc_api._handler
ndbc_api._handler = None
with pytest.raises(ResponseException):
_ = ndbc_api.get_data(
station_id=globals()[f'TEST_STN_{name.upper()}'],
mode=name,
start_time=TEST_START,
end_time=TEST_END,
use_timestamp=True,
as_df=True,
cols=None,
)
ndbc_api._handler = handler
with pytest.raises(ParserException):
_ = ndbc_api.get_data(
station_id=globals()[f'TEST_STN_{name.upper()}'],
Expand Down

0 comments on commit 4d46d84

Please sign in to comment.