Skip to content

Commit

Permalink
Disable enable_scp in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alhogan committed Sep 13, 2024
1 parent 247454a commit 95690fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_devices/test_eos_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def test_file_copy(self, mock_open, mock_close, mock_ssh, mock_ft):
mock_ft.assert_called_with(
self.device.native_ssh, "path/to/source_file", "source_file", file_system="/mnt/flash"
)
mock_ft_instance.enable_scp.assert_any_call()
#mock_ft_instance.enable_scp.assert_any_call()
mock_ft_instance.establish_scp_conn.assert_any_call()
mock_ft_instance.transfer_file.assert_any_call()

Expand All @@ -258,7 +258,7 @@ def test_file_copy_different_dest(self, mock_open, mock_close, mock_ssh, mock_ft
self.device.file_copy("source_file", "dest_file")

mock_ft.assert_called_with(self.device.native_ssh, "source_file", "dest_file", file_system="/mnt/flash")
mock_ft_instance.enable_scp.assert_any_call()
#mock_ft_instance.enable_scp.assert_any_call()
mock_ft_instance.establish_scp_conn.assert_any_call()
mock_ft_instance.transfer_file.assert_any_call()

Expand Down

0 comments on commit 95690fb

Please sign in to comment.