@@ -43,13 +43,13 @@ def test_client_is_represented_properly_with_bucket_and_collection(async_client_
43
43
client = async_client_setup .clone (
44
44
server_url = SERVER_URL , bucket = "homebrewing" , collection = "recipes"
45
45
)
46
- expected_repr = f"<KintoAsyncClient { SERVER_URL } /" " buckets/homebrewing/collections/recipes>"
46
+ expected_repr = f"<KintoAsyncClient { SERVER_URL } /buckets/homebrewing/collections/recipes>"
47
47
assert str (client ) == expected_repr
48
48
49
49
50
50
def test_client_is_represented_properly_with_bucket (async_client_setup : Client ):
51
51
client = async_client_setup .clone (server_url = SERVER_URL , bucket = "homebrewing" )
52
- expected_repr = f"<KintoAsyncClient { SERVER_URL } /" " buckets/homebrewing>"
52
+ expected_repr = f"<KintoAsyncClient { SERVER_URL } /buckets/homebrewing>"
53
53
assert str (client ) == expected_repr
54
54
55
55
@@ -843,7 +843,7 @@ async def test_records_timestamp_is_cached_per_collection(record_async_setup: Cl
843
843
async def test_pagination_is_followed (record_async_setup : Client ):
844
844
client = record_async_setup
845
845
# Mock the calls to request.
846
- link = "http://example.org/buckets/buck/collections/coll/records/" " ?token=1234"
846
+ link = "http://example.org/buckets/buck/collections/coll/records/?token=1234"
847
847
848
848
client .session .request .side_effect = [
849
849
# First one returns a list of items with a pagination token.
@@ -871,7 +871,7 @@ async def test_pagination_is_followed(record_async_setup: Client):
871
871
async def test_pagination_is_followed_generator (record_async_setup : Client ):
872
872
client = record_async_setup
873
873
# Mock the calls to request.
874
- link = "http://example.org/buckets/buck/collections/coll/records/" " ?token=1234"
874
+ link = "http://example.org/buckets/buck/collections/coll/records/?token=1234"
875
875
876
876
response = [
877
877
# First one returns a list of items with a pagination token.
@@ -897,7 +897,7 @@ async def test_pagination_is_followed_generator(record_async_setup: Client):
897
897
async def test_pagination_is_followed_for_number_of_pages (record_async_setup : Client ):
898
898
client = record_async_setup
899
899
# Mock the calls to request.
900
- link = "http://example.org/buckets/buck/collections/coll/records/" " ?token=1234"
900
+ link = "http://example.org/buckets/buck/collections/coll/records/?token=1234"
901
901
902
902
client .session .request .side_effect = [
903
903
# First one returns a list of items with a pagination token.
@@ -923,7 +923,7 @@ async def test_pagination_is_followed_for_number_of_pages(record_async_setup: Cl
923
923
async def test_pagination_is_not_followed_if_limit_is_specified (record_async_setup : Client ):
924
924
client = record_async_setup
925
925
# Mock the calls to request.
926
- link = "http://example.org/buckets/buck/collections/coll/records/" " ?token=1234"
926
+ link = "http://example.org/buckets/buck/collections/coll/records/?token=1234"
927
927
928
928
client .session .request .side_effect = [
929
929
build_response (
@@ -938,7 +938,7 @@ async def test_pagination_is_not_followed_if_limit_is_specified(record_async_set
938
938
939
939
async def test_pagination_supports_if_none_match (record_async_setup : Client ):
940
940
client = record_async_setup
941
- link = "http://example.org/buckets/buck/collections/coll/records/" " ?token=1234"
941
+ link = "http://example.org/buckets/buck/collections/coll/records/?token=1234"
942
942
943
943
client .session .request .side_effect = [
944
944
# First one returns a list of items with a pagination token.
@@ -964,7 +964,7 @@ async def test_pagination_supports_if_none_match(record_async_setup: Client):
964
964
965
965
async def test_pagination_generator_if_none_match (record_async_setup : Client ):
966
966
client = record_async_setup
967
- link = "http://example.org/buckets/buck/collections/coll/records/" " ?token=1234"
967
+ link = "http://example.org/buckets/buck/collections/coll/records/?token=1234"
968
968
969
969
response = [
970
970
# First one returns a list of items with a pagination token.
0 commit comments