mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 15:28:28 +01:00
fs.ssh: remove unused vars
This commit is contained in:
committed by
Saugat Pachhai
parent
5d64f6504f
commit
0d48598e4b
@@ -6,7 +6,7 @@ import os
|
||||
import pytest
|
||||
from mock import mock_open, patch
|
||||
|
||||
from dvc.fs.ssh import SSHFileSystem
|
||||
from dvc.fs.ssh import DEFAULT_PORT, SSHFileSystem
|
||||
|
||||
|
||||
def test_get_kwargs_from_urls():
|
||||
@@ -99,7 +99,7 @@ def test_ssh_user(mock_file, config, expected_user):
|
||||
[
|
||||
({"host": "example.com"}, 1234),
|
||||
({"host": "example.com", "port": 4321}, 4321),
|
||||
({"host": "not_in_ssh_config.com"}, SSHFileSystem.DEFAULT_PORT),
|
||||
({"host": "not_in_ssh_config.com"}, DEFAULT_PORT),
|
||||
({"host": "not_in_ssh_config.com", "port": 2222}, 2222),
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user