Skip to content

Commit

Permalink
Add skipif for cmod test on d3d
Browse files Browse the repository at this point in the history
  • Loading branch information
lajz committed Jun 6, 2024
1 parent 2d6cd4b commit aeaf93c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_cmod_writeback.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
from typing import Dict

import pandas as pd
Expand Down Expand Up @@ -71,6 +72,9 @@ def assert_frame_equal_unordered(df1: pd.DataFrame, df2: pd.DataFrame):
pd.testing.assert_frame_equal(df1_sorted, df2_sorted, check_like=True)


@pytest.mark.skipif(
os.path.exists("/fusion/projects/disruption_warning"), reason="on DIII-D"
)
def test_update_data(cmod_handler: CModHandler, shotlist, mdsplus_data) -> Dict:
# Test initial database readback
cmod_database = cmod_handler.database
Expand Down

0 comments on commit aeaf93c

Please sign in to comment.