Skip to content

Commit 8ccc85d

Browse files
committed
Mark derived metric tests for smoke and full
1 parent 221f70e commit 8ccc85d

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

tests/test_set_layer_metrics.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
import numpy as np
22
import pandas as pd
3+
import pytest
34
from betterset import BetterSet as S
45

56
from dftracer.analyzer.analyzer import Analyzer
67
from dftracer.analyzer.utils.dask_agg import unique_set_flatten
78

9+
pytestmark = [pytest.mark.smoke, pytest.mark.full]
10+
811

912
DERIVED_METRICS = {
1013
"read": "io_cat == 1",

tests/utils/test_collection_utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import pandas as pd
2+
import pytest
23
from betterset import BetterSet as S
34

45
from dftracer.analyzer.utils.collection_utils import is_set_like_series
56

7+
pytestmark = [pytest.mark.smoke, pytest.mark.full]
8+
69

710
def test_is_set_like_series_detects_betterset_values() -> None:
811
series = pd.Series([None, S(["a"]), S(["b"])], dtype="object")

tests/utils/test_pandas_utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
import pandas as pd
2+
import pytest
23

34
from dftracer.analyzer.utils.pandas_utils import to_nullable_numeric
45

6+
pytestmark = [pytest.mark.smoke, pytest.mark.full]
7+
58

69
def test_to_nullable_numeric_preserves_integer_nullability() -> None:
710
series = pd.Series([1, 2, 3], dtype="int64")

0 commit comments

Comments
 (0)