mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-09 23:10:24 +01:00
12 lines
248 B
Python
12 lines
248 B
Python
import pytest
|
|
|
|
from dvc.remote.ssh.pool import ssh_connection
|
|
|
|
|
|
def test_doesnt_swallow_errors(ssh_server):
|
|
class MyError(Exception):
|
|
pass
|
|
|
|
with pytest.raises(MyError), ssh_connection(**ssh_server.test_creds):
|
|
raise MyError
|