Skip to content

Commit

Permalink
scope s3 fixture to session, mark test_store_supports_partial_writes …
Browse files Browse the repository at this point in the history
…as xfail
  • Loading branch information
d-v-b committed Jun 10, 2024
1 parent a4e1c20 commit 93a2c6a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/v3/test_store/test_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def get_boto3_client():
return session.create_client("s3", endpoint_url=endpoint_uri)


@pytest.fixture(autouse=True)
@pytest.fixture(autouse=True, scope="session")
def s3(s3_base):
client = get_boto3_client()
client.create_bucket(Bucket=test_bucket_name, ACL="public-read")
Expand Down Expand Up @@ -106,8 +106,9 @@ def test_store_repr(self, store: RemoteStore) -> None:
def test_store_supports_writes(self, store: RemoteStore) -> None:
assert True

@pytest.mark.xfail
def test_store_supports_partial_writes(self, store: RemoteStore) -> None:
assert False
raise AssertionError

def test_store_supports_listing(self, store: RemoteStore) -> None:
assert True

0 comments on commit 93a2c6a

Please sign in to comment.