Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

berkeley: Restore tests that were being skipped by mistake (oops) #688

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions tests/test_data/test_neon_benthic_data_translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
)
import pandas as pd

# FIXME: Update the NEON Benthic Data Translator to work with the Berkeley schema, then un-skip this module's tests.
# Reference: https://docs.pytest.org/en/stable/how-to/skipping.html#skipping-test-functions
pytest.skip(
"Skipping tests targeting NEON Benthic Data Translator because it has not been updated to work with the Berkeley schema yet",
allow_module_level=True,
)

# Mock data for testing
benthic_data = {
Expand Down
6 changes: 0 additions & 6 deletions tests/test_data/test_neon_soil_data_translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@
)
import pandas as pd

# FIXME: Update the NEON Soil Data Translator to work with the Berkeley schema, then un-skip this module's tests.
# Reference: https://docs.pytest.org/en/stable/how-to/skipping.html#skipping-test-functions
pytest.skip(
"Skipping tests targeting NEON Soil Data Translator because it has not been updated to work with the Berkeley schema yet",
allow_module_level=True,
)

# Mock data for testing
mms_data = {
Expand Down
20 changes: 0 additions & 20 deletions tests/test_ops/test_gold_api_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ def op_context(client_config):
)


# FIXME: Update the API endpoint to work with the Berkeley schema, then un-skip this test.
# Reference: https://docs.pytest.org/en/stable/how-to/skipping.html#skipping-test-functions
@pytest.mark.skip(
reason="API endpoint has not been updated to work with the Berkeley schema yet"
)
def test_gold_biosamples_by_study(client_config, op_context):
with requests_mock.mock() as mock:
mock.get(
Expand All @@ -52,11 +47,6 @@ def test_gold_biosamples_by_study(client_config, op_context):
assert mock.last_request.headers["Authorization"].startswith("Basic ")


# FIXME: Update the API endpoint to work with the Berkeley schema, then un-skip this test.
# Reference: https://docs.pytest.org/en/stable/how-to/skipping.html#skipping-test-functions
@pytest.mark.skip(
reason="API endpoint has not been updated to work with the Berkeley schema yet"
)
def test_gold_projects_by_study(client_config, op_context):
with requests_mock.mock() as mock:
mock.get(
Expand All @@ -72,11 +62,6 @@ def test_gold_projects_by_study(client_config, op_context):
assert mock.last_request.headers["Authorization"].startswith("Basic ")


# FIXME: Update the API endpoint to work with the Berkeley schema, then un-skip this test.
# Reference: https://docs.pytest.org/en/stable/how-to/skipping.html#skipping-test-functions
@pytest.mark.skip(
reason="API endpoint has not been updated to work with the Berkeley schema yet"
)
def test_gold_analysis_projects_by_study(client_config, op_context):
with requests_mock.mock() as mock:
mock.get(
Expand All @@ -92,11 +77,6 @@ def test_gold_analysis_projects_by_study(client_config, op_context):
assert mock.last_request.headers["Authorization"].startswith("Basic ")


# FIXME: Update the API endpoint to work with the Berkeley schema, then un-skip this test.
# Reference: https://docs.pytest.org/en/stable/how-to/skipping.html#skipping-test-functions
@pytest.mark.skip(
reason="API endpoint has not been updated to work with the Berkeley schema yet"
)
def test_gold_study(client_config, op_context):
with requests_mock.mock() as mock:
mock.get(
Expand Down
Loading