Skip to content

Commit

Permalink
skip tests that rely on CO-OPS stations (that change)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Jun 14, 2022
1 parent f18f5f8 commit 65203c5
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions tests/test_coops.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import sys
from datetime import datetime

import pytest
Expand All @@ -13,10 +12,8 @@
from tests import REFERENCE_DIRECTORY


# TODO figure out why retrieved stations are different in Python 3.6
@pytest.mark.skipif(
sys.version_info < (3, 7),
reason="stations list differences in Python 3.6",
@pytest.mark.skip(
reason="stations change over time",
)
def test_coops_stations():
stations = coops_stations()
Expand All @@ -32,10 +29,8 @@ def test_coops_stations():
]


# TODO figure out why retrieved stations are different in Python 3.6
@pytest.mark.skipif(
sys.version_info < (3, 7),
reason="stations list differences in Python 3.6",
@pytest.mark.skip(
reason="stations change over time",
)
def test_coops_stations_within_region():
reference_directory = REFERENCE_DIRECTORY / "test_coops_stations_within_region"
Expand All @@ -55,6 +50,7 @@ def test_coops_stations_within_region():
check_reference_directory(output_directory, reference_directory)


@pytest.mark.skip(reason="stations change over time")
def test_coops_product_within_region():
reference_directory = REFERENCE_DIRECTORY / "test_coops_product_within_region"
output_directory = OUTPUT_DIRECTORY / "test_coops_product_within_region"
Expand Down

0 comments on commit 65203c5

Please sign in to comment.