Skip to content

Commit

Permalink
Update test_core.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahshi committed Jan 25, 2024
1 parent b1f8ffb commit 352ed0c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions UnitTests/test_core.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import unittest
from unittest.mock import patch, mock_open
from tempfile import TemporaryFile

import os
import glob
Expand Down Expand Up @@ -117,8 +118,8 @@ def setUp(self):
'Mineral2', 'Mineral1', 'Mineral2', 'Mineral1', 'Mineral2']
})

@patch('your_module.load_minclass_nn')
@patch('your_module.norm_data')
@patch('mm.load_minclass_nn')
@patch('mm.norm_data')
def test_create_dataloader(self, mock_norm_data, mock_load_minclass_nn):
# Mock return values for dependencies
mock_norm_data.return_value = self.df
Expand Down

0 comments on commit 352ed0c

Please sign in to comment.