Skip to content

Commit

Permalink
Merge pull request #12 from dagardner-nv/devin_issue_862_dg
Browse files Browse the repository at this point in the history
Misc cleanups
  • Loading branch information
drobison00 authored Jul 10, 2023
2 parents 1a4893d + 82e7b05 commit 6fa9da7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ def test_process_features(
results = stage.process_features(dfp_multi_message)

assert isinstance(results, MultiDFPMessage)
dataset_pandas.assert_df_equal(results.get_meta_dataframe(), expected_df)
dataset_pandas.assert_compare_df(results.get_meta_dataframe(), expected_df)
5 changes: 2 additions & 3 deletions tests/utils/nvt/test_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
import pytest
from nvtabular.ops.operator import ColumnSelector

import cudf

from morpheus.utils.nvt.transforms import json_flatten
from morpheus.utils.type_aliases import DataFrameType
from utils.dataset_manager import DatasetManager


Expand All @@ -37,7 +36,7 @@ def df_fixture(dataset: DatasetManager, data: dict):
yield dataset.df_class(data)


def test_json_flatten(df: pd.DataFrame):
def test_json_flatten(df: DataFrameType):
col_selector = ColumnSelector(["info"])
result = json_flatten(col_selector, df)

Expand Down

0 comments on commit 6fa9da7

Please sign in to comment.