Skip to content

Commit e1b7f66

Browse files
author
Val Brodsky
committed
Remove unnecessary test
1 parent 6c16f43 commit e1b7f66

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

libs/labelbox/tests/unit/schema/test_user_group.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@ def setup_method(self):
5757
self.client.enable_experimental = True
5858
self.group = UserGroup(client=self.client)
5959

60-
def test_constructor_experimental_needed(self):
61-
client = MagicMock(Client)
62-
client.enable_experimental = False
63-
with pytest.raises(RuntimeError):
64-
group = UserGroup(client)
65-
6660
def test_constructor(self):
6761
group = UserGroup(self.client)
6862

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,15 @@ dev-dependencies = [
2828
"pytest-timestamper>=0.0.10",
2929
"pytest-timeout>=2.3.1",
3030
"pytest-order>=1.2.1",
31+
"pyjwt>=2.9.0",
3132
]
3233

3334
[tool.rye.workspace]
3435
members = ["libs/*", "examples"]
3536

3637
[tool.pytest.ini_options]
3738
# https://github.com/pytest-dev/pytest-rerunfailures/issues/99
38-
addopts = "-rP -vvv --reruns 1 --reruns-delay 5 --durations=20 -n auto --cov=labelbox --import-mode=importlib --order-group-scope=module"
39+
addopts = "-rP -vvv"
3940
markers = """
4041
slow: marks tests as slow (deselect with '-m "not slow"')
4142
"""

requirements-dev.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ pygments==2.18.0
200200
# via nbconvert
201201
# via rich
202202
# via sphinx
203+
pyjwt==2.9.0
203204
pyproj==3.5.0
204205
# via labelbox
205206
pytest==8.2.2

requirements.lock

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ jinja2==3.1.4
5050
# via sphinx
5151
markupsafe==2.1.5
5252
# via jinja2
53+
mypy==1.10.1
54+
# via labelbox
55+
mypy-extensions==1.0.0
56+
# via mypy
5357
numpy==1.24.4
5458
# via labelbox
5559
# via opencv-python-headless
@@ -119,13 +123,16 @@ sphinxcontrib-serializinghtml==1.1.5
119123
# via sphinx
120124
strenum==0.4.15
121125
# via labelbox
126+
tomli==2.0.1
127+
# via mypy
122128
tqdm==4.66.4
123129
# via labelbox
124130
typeguard==4.3.0
125131
# via labelbox
126132
typing-extensions==4.12.2
127133
# via annotated-types
128134
# via labelbox
135+
# via mypy
129136
# via pydantic
130137
# via pydantic-core
131138
# via typeguard

0 commit comments

Comments
 (0)