From 93a2c6a3d7393f156526b63b30fac9d5b204ca90 Mon Sep 17 00:00:00 2001
From: Davis Vann Bennett <davis.v.bennett@gmail.com>
Date: Mon, 10 Jun 2024 17:38:24 +0200
Subject: [PATCH] scope s3 fixture to session, mark
 test_store_supports_partial_writes as xfail

---
 tests/v3/test_store/test_remote.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/v3/test_store/test_remote.py b/tests/v3/test_store/test_remote.py
index 79b3837447..fbbae6683f 100644
--- a/tests/v3/test_store/test_remote.py
+++ b/tests/v3/test_store/test_remote.py
@@ -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")
@@ -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