Skip to content

Commit 0f0c908

Browse files
Removed commented out imports and remove os import per Guillaume's feedback
1 parent cea3940 commit 0f0c908

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

tests/unit/ctl/test_repository_app.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,18 @@
11
"""Integration tests for infrahubctl commands."""
22

3-
# import json
4-
import os
5-
6-
# import sys
73
from pathlib import Path
84
from unittest import mock
95

106
import pytest
11-
12-
# from pytest_httpx._httpx_mock import HTTPXMock
137
from typer.testing import CliRunner
148

159
from infrahub_sdk.client import InfrahubClient
1610
from infrahub_sdk.ctl.cli_commands import app
1711

18-
# from tests.helpers.utils import change_directory, strip_color
19-
2012
runner = CliRunner()
2113

2214

23-
FIXTURE_BASE_DIR = Path(
24-
Path(os.path.abspath(__file__)).parent / ".." / ".." / "fixtures" / "integration" / "test_infrahubctl"
25-
)
15+
FIXTURE_BASE_DIR = Path(Path(__file__).parent / ".." / ".." / "fixtures" / "integration" / "test_infrahubctl")
2616

2717

2818
@pytest.fixture

0 commit comments

Comments
 (0)