Skip to content

Commit 18dd3bb

Browse files
committed
Fix pylint issues
1 parent 34e0df7 commit 18dd3bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
from model import Detector, ImageQuery, ImageQueryTypeEnum, ResultTypeEnum
66

77

8-
def pytest_configure(config):
8+
def pytest_configure(config): # pylint: disable=unused-argument
99
# Run environment check before tests
1010
gl = Groundlight()
11-
if gl._user_is_privileged():
12-
raise Exception(
11+
if gl._user_is_privileged(): # pylint: disable=protected-access
12+
raise RuntimeError(
1313
"ERROR: You are running tests with a privileged user. Please run tests with a non-privileged user."
1414
)
1515

0 commit comments

Comments
 (0)