Skip to content

Commit a4c28bb

Browse files
fix ci
1 parent 40c97dd commit a4c28bb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎tests/test_onedragon.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,13 @@ def test_copy_python_scripts_already_exists(self, mock_copy, mock_get_path, mock
5353
# shutil.copy should not be called
5454
mock_copy.assert_not_called()
5555

56+
@patch('config.onedragon.copy_BGI_User')
5657
@patch('config.onedragon.copy_python_scripts')
5758
@patch('config.onedragon.run_config_ui')
58-
def test_config_workflow(self, mock_run_ui, mock_copy):
59+
def test_config_workflow(self, mock_run_ui, mock_copy, mock_bgi):
5960
onedragon.config_workflow()
6061

62+
mock_bgi.assert_called_once()
6163
mock_copy.assert_called_once()
6264
mock_run_ui.assert_called_once()
6365

0 commit comments

Comments
 (0)