Skip to content

Commit 675fdf0

Browse files
added the pylint changes
1 parent 46c0da5 commit 675fdf0

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

src/tests/backend/helper/azure_credential_utils_test.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
1-
from unittest.mock import MagicMock, patch
2-
31
import os
4-
import sys
5-
6-
import pytest
7-
8-
9-
2+
from unittest.mock import MagicMock, patch
103

11-
# Add the backend directory to the Python path
12-
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "../../../backend")))
134
import helper.azure_credential_utils as azure_credential_utils
145

6+
import pytest
157

168

179
@pytest.fixture
@@ -20,6 +12,7 @@ def mock_env_vars():
2012
"APP_ENV": "dev"
2113
}
2214

15+
2316
class TestAzureCredentialUtils:
2417
@patch.dict(os.environ, {}, clear=True)
2518
@patch("helper.azure_credential_utils.DefaultAzureCredential")

0 commit comments

Comments
 (0)