move environment to helpers module
This fixes registering pytest plugins
This commit is contained in:
2
pkgs/clan-cli/tests/conftest.py
Normal file
2
pkgs/clan-cli/tests/conftest.py
Normal file
@@ -0,0 +1,2 @@
|
||||
import os
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), 'helpers'))
|
||||
@@ -3,12 +3,11 @@ from typing import Union
|
||||
|
||||
import pytest
|
||||
import pytest_subprocess.fake_process
|
||||
from environment import mock_env
|
||||
from pytest_subprocess import utils
|
||||
|
||||
import clan_cli.ssh
|
||||
|
||||
from .environment import mock_env
|
||||
|
||||
|
||||
def test_no_args(
|
||||
capsys: pytest.CaptureFixture, monkeypatch: pytest.MonkeyPatch
|
||||
|
||||
Reference in New Issue
Block a user