Skip to content

Commit b51cdc9

Browse files
committed
fixing unit tests
1 parent 4a5e174 commit b51cdc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/tests/utils/schema/test_columnar_schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def test_constructor_default(self, mocker):
5757
mock_convert_pandas_series_to_schema.assert_not_called()
5858
mock_convert_spark_to_schema.assert_not_called()
5959
mock_convert_td_to_schema.assert_not_called()
60-
assert mock_find_spec.call_count == 2
60+
assert mock_find_spec.call_count == 1
6161

6262
def test_constructor_list(self, mocker):
6363
# Arrange
@@ -257,7 +257,7 @@ def test_constructor_hsfs_td(self, mocker):
257257
mock_convert_pandas_series_to_schema.assert_not_called()
258258
mock_convert_spark_to_schema.assert_not_called()
259259
mock_convert_td_to_schema.assert_called_once_with(columnar_obj)
260-
assert mock_find_spec.call_count == 2
260+
assert mock_find_spec.call_count == 1
261261

262262
# convert list to schema
263263

0 commit comments

Comments
 (0)