Skip to content

Commit 0db859c

Browse files
committed
tests: updated test
1 parent f76ce95 commit 0db859c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/tests_unit/test_base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
from cognite.client import ClientConfig, CogniteClient
1414
from cognite.client.credentials import Token
15-
from cognite.client.data_classes import Feature, FeatureAggregate
15+
from cognite.client.data_classes import Feature, FeatureAggregate, Project
1616
from cognite.client.data_classes._base import (
1717
CogniteFilter,
1818
CogniteLabelUpdate,
@@ -194,6 +194,8 @@ def test_dump_load_only_required(
194194
[
195195
pytest.param(class_, id=f"{class_.__name__} in {class_.__module__}")
196196
for class_ in all_concrete_subclasses(WriteableCogniteResource)
197+
# Project does not support as_write
198+
if class_ is not Project
197199
],
198200
)
199201
def test_writable_as_write(

0 commit comments

Comments
 (0)