Skip to content

Commit 247432f

Browse files
committed
Add attribute tests
1 parent 0eb416a commit 247432f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/test_store/test_object.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,12 @@ def test_store_repr(self, store: ObjectStore) -> None:
2626

2727
pattern = "ObjectStore(object://LocalStore(file:///*))"
2828
assert fnmatch(f"{store!r}", pattern)
29+
30+
def test_store_supports_writes(self, store: ObjectStore) -> None:
31+
assert store.supports_writes
32+
33+
def test_store_supports_partial_writes(self, store: ObjectStore) -> None:
34+
assert not store.supports_partial_writes
35+
36+
def test_store_supports_listing(self, store: ObjectStore) -> None:
37+
assert store.supports_listing

0 commit comments

Comments
 (0)