Skip to content

Commit 1fde7dc

Browse files
chore: improve example values
1 parent 71ab73d commit 1fde7dc

File tree

5 files changed

+30
-30
lines changed

5 files changed

+30
-30
lines changed

tests/api_resources/fraud/test_transactions.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ class TestTransactions:
2020
@parametrize
2121
def test_method_retrieve(self, client: Lithic) -> None:
2222
transaction = client.fraud.transactions.retrieve(
23-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
23+
"00000000-0000-0000-0000-000000000000",
2424
)
2525
assert_matches_type(TransactionRetrieveResponse, transaction, path=["response"])
2626

2727
@parametrize
2828
def test_raw_response_retrieve(self, client: Lithic) -> None:
2929
response = client.fraud.transactions.with_raw_response.retrieve(
30-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
30+
"00000000-0000-0000-0000-000000000000",
3131
)
3232

3333
assert response.is_closed is True
@@ -38,7 +38,7 @@ def test_raw_response_retrieve(self, client: Lithic) -> None:
3838
@parametrize
3939
def test_streaming_response_retrieve(self, client: Lithic) -> None:
4040
with client.fraud.transactions.with_streaming_response.retrieve(
41-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
41+
"00000000-0000-0000-0000-000000000000",
4242
) as response:
4343
assert not response.is_closed
4444
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -116,14 +116,14 @@ class TestAsyncTransactions:
116116
@parametrize
117117
async def test_method_retrieve(self, async_client: AsyncLithic) -> None:
118118
transaction = await async_client.fraud.transactions.retrieve(
119-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
119+
"00000000-0000-0000-0000-000000000000",
120120
)
121121
assert_matches_type(TransactionRetrieveResponse, transaction, path=["response"])
122122

123123
@parametrize
124124
async def test_raw_response_retrieve(self, async_client: AsyncLithic) -> None:
125125
response = await async_client.fraud.transactions.with_raw_response.retrieve(
126-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
126+
"00000000-0000-0000-0000-000000000000",
127127
)
128128

129129
assert response.is_closed is True
@@ -134,7 +134,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncLithic) -> None:
134134
@parametrize
135135
async def test_streaming_response_retrieve(self, async_client: AsyncLithic) -> None:
136136
async with async_client.fraud.transactions.with_streaming_response.retrieve(
137-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
137+
"00000000-0000-0000-0000-000000000000",
138138
) as response:
139139
assert not response.is_closed
140140
assert response.http_request.headers.get("X-Stainless-Lang") == "python"

tests/api_resources/reports/test_settlement.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ def test_path_params_list_details(self, client: Lithic) -> None:
7070
@parametrize
7171
def test_method_summary(self, client: Lithic) -> None:
7272
settlement = client.reports.settlement.summary(
73-
parse_date("2019-12-27"),
73+
parse_date("2023-09-01"),
7474
)
7575
assert_matches_type(SettlementReport, settlement, path=["response"])
7676

7777
@parametrize
7878
def test_raw_response_summary(self, client: Lithic) -> None:
7979
response = client.reports.settlement.with_raw_response.summary(
80-
parse_date("2019-12-27"),
80+
parse_date("2023-09-01"),
8181
)
8282

8383
assert response.is_closed is True
@@ -88,7 +88,7 @@ def test_raw_response_summary(self, client: Lithic) -> None:
8888
@parametrize
8989
def test_streaming_response_summary(self, client: Lithic) -> None:
9090
with client.reports.settlement.with_streaming_response.summary(
91-
parse_date("2019-12-27"),
91+
parse_date("2023-09-01"),
9292
) as response:
9393
assert not response.is_closed
9494
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -162,14 +162,14 @@ async def test_path_params_list_details(self, async_client: AsyncLithic) -> None
162162
@parametrize
163163
async def test_method_summary(self, async_client: AsyncLithic) -> None:
164164
settlement = await async_client.reports.settlement.summary(
165-
parse_date("2019-12-27"),
165+
parse_date("2023-09-01"),
166166
)
167167
assert_matches_type(SettlementReport, settlement, path=["response"])
168168

169169
@parametrize
170170
async def test_raw_response_summary(self, async_client: AsyncLithic) -> None:
171171
response = await async_client.reports.settlement.with_raw_response.summary(
172-
parse_date("2019-12-27"),
172+
parse_date("2023-09-01"),
173173
)
174174

175175
assert response.is_closed is True
@@ -180,7 +180,7 @@ async def test_raw_response_summary(self, async_client: AsyncLithic) -> None:
180180
@parametrize
181181
async def test_streaming_response_summary(self, async_client: AsyncLithic) -> None:
182182
async with async_client.reports.settlement.with_streaming_response.summary(
183-
parse_date("2019-12-27"),
183+
parse_date("2023-09-01"),
184184
) as response:
185185
assert not response.is_closed
186186
assert response.http_request.headers.get("X-Stainless-Lang") == "python"

tests/api_resources/test_transactions.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,14 @@ def test_streaming_response_list(self, client: Lithic) -> None:
112112
@parametrize
113113
def test_method_expire_authorization(self, client: Lithic) -> None:
114114
transaction = client.transactions.expire_authorization(
115-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
115+
"00000000-0000-0000-0000-000000000000",
116116
)
117117
assert transaction is None
118118

119119
@parametrize
120120
def test_raw_response_expire_authorization(self, client: Lithic) -> None:
121121
response = client.transactions.with_raw_response.expire_authorization(
122-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
122+
"00000000-0000-0000-0000-000000000000",
123123
)
124124

125125
assert response.is_closed is True
@@ -130,7 +130,7 @@ def test_raw_response_expire_authorization(self, client: Lithic) -> None:
130130
@parametrize
131131
def test_streaming_response_expire_authorization(self, client: Lithic) -> None:
132132
with client.transactions.with_streaming_response.expire_authorization(
133-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
133+
"00000000-0000-0000-0000-000000000000",
134134
) as response:
135135
assert not response.is_closed
136136
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -570,14 +570,14 @@ async def test_streaming_response_list(self, async_client: AsyncLithic) -> None:
570570
@parametrize
571571
async def test_method_expire_authorization(self, async_client: AsyncLithic) -> None:
572572
transaction = await async_client.transactions.expire_authorization(
573-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
573+
"00000000-0000-0000-0000-000000000000",
574574
)
575575
assert transaction is None
576576

577577
@parametrize
578578
async def test_raw_response_expire_authorization(self, async_client: AsyncLithic) -> None:
579579
response = await async_client.transactions.with_raw_response.expire_authorization(
580-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
580+
"00000000-0000-0000-0000-000000000000",
581581
)
582582

583583
assert response.is_closed is True
@@ -588,7 +588,7 @@ async def test_raw_response_expire_authorization(self, async_client: AsyncLithic
588588
@parametrize
589589
async def test_streaming_response_expire_authorization(self, async_client: AsyncLithic) -> None:
590590
async with async_client.transactions.with_streaming_response.expire_authorization(
591-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
591+
"00000000-0000-0000-0000-000000000000",
592592
) as response:
593593
assert not response.is_closed
594594
assert response.http_request.headers.get("X-Stainless-Lang") == "python"

tests/api_resources/transactions/events/test_enhanced_commercial_data.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ class TestEnhancedCommercialData:
2020
@parametrize
2121
def test_method_retrieve(self, client: Lithic) -> None:
2222
enhanced_commercial_data = client.transactions.events.enhanced_commercial_data.retrieve(
23-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
23+
"00000000-0000-0000-0000-000000000000",
2424
)
2525
assert_matches_type(EnhancedData, enhanced_commercial_data, path=["response"])
2626

2727
@parametrize
2828
def test_raw_response_retrieve(self, client: Lithic) -> None:
2929
response = client.transactions.events.enhanced_commercial_data.with_raw_response.retrieve(
30-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
30+
"00000000-0000-0000-0000-000000000000",
3131
)
3232

3333
assert response.is_closed is True
@@ -38,7 +38,7 @@ def test_raw_response_retrieve(self, client: Lithic) -> None:
3838
@parametrize
3939
def test_streaming_response_retrieve(self, client: Lithic) -> None:
4040
with client.transactions.events.enhanced_commercial_data.with_streaming_response.retrieve(
41-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
41+
"00000000-0000-0000-0000-000000000000",
4242
) as response:
4343
assert not response.is_closed
4444
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -64,14 +64,14 @@ class TestAsyncEnhancedCommercialData:
6464
@parametrize
6565
async def test_method_retrieve(self, async_client: AsyncLithic) -> None:
6666
enhanced_commercial_data = await async_client.transactions.events.enhanced_commercial_data.retrieve(
67-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
67+
"00000000-0000-0000-0000-000000000000",
6868
)
6969
assert_matches_type(EnhancedData, enhanced_commercial_data, path=["response"])
7070

7171
@parametrize
7272
async def test_raw_response_retrieve(self, async_client: AsyncLithic) -> None:
7373
response = await async_client.transactions.events.enhanced_commercial_data.with_raw_response.retrieve(
74-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
74+
"00000000-0000-0000-0000-000000000000",
7575
)
7676

7777
assert response.is_closed is True
@@ -82,7 +82,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncLithic) -> None:
8282
@parametrize
8383
async def test_streaming_response_retrieve(self, async_client: AsyncLithic) -> None:
8484
async with async_client.transactions.events.enhanced_commercial_data.with_streaming_response.retrieve(
85-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
85+
"00000000-0000-0000-0000-000000000000",
8686
) as response:
8787
assert not response.is_closed
8888
assert response.http_request.headers.get("X-Stainless-Lang") == "python"

tests/api_resources/transactions/test_enhanced_commercial_data.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ class TestEnhancedCommercialData:
2020
@parametrize
2121
def test_method_retrieve(self, client: Lithic) -> None:
2222
enhanced_commercial_data = client.transactions.enhanced_commercial_data.retrieve(
23-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
23+
"00000000-0000-0000-0000-000000000000",
2424
)
2525
assert_matches_type(EnhancedCommercialDataRetrieveResponse, enhanced_commercial_data, path=["response"])
2626

2727
@parametrize
2828
def test_raw_response_retrieve(self, client: Lithic) -> None:
2929
response = client.transactions.enhanced_commercial_data.with_raw_response.retrieve(
30-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
30+
"00000000-0000-0000-0000-000000000000",
3131
)
3232

3333
assert response.is_closed is True
@@ -38,7 +38,7 @@ def test_raw_response_retrieve(self, client: Lithic) -> None:
3838
@parametrize
3939
def test_streaming_response_retrieve(self, client: Lithic) -> None:
4040
with client.transactions.enhanced_commercial_data.with_streaming_response.retrieve(
41-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
41+
"00000000-0000-0000-0000-000000000000",
4242
) as response:
4343
assert not response.is_closed
4444
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -64,14 +64,14 @@ class TestAsyncEnhancedCommercialData:
6464
@parametrize
6565
async def test_method_retrieve(self, async_client: AsyncLithic) -> None:
6666
enhanced_commercial_data = await async_client.transactions.enhanced_commercial_data.retrieve(
67-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
67+
"00000000-0000-0000-0000-000000000000",
6868
)
6969
assert_matches_type(EnhancedCommercialDataRetrieveResponse, enhanced_commercial_data, path=["response"])
7070

7171
@parametrize
7272
async def test_raw_response_retrieve(self, async_client: AsyncLithic) -> None:
7373
response = await async_client.transactions.enhanced_commercial_data.with_raw_response.retrieve(
74-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
74+
"00000000-0000-0000-0000-000000000000",
7575
)
7676

7777
assert response.is_closed is True
@@ -82,7 +82,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncLithic) -> None:
8282
@parametrize
8383
async def test_streaming_response_retrieve(self, async_client: AsyncLithic) -> None:
8484
async with async_client.transactions.enhanced_commercial_data.with_streaming_response.retrieve(
85-
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
85+
"00000000-0000-0000-0000-000000000000",
8686
) as response:
8787
assert not response.is_closed
8888
assert response.http_request.headers.get("X-Stainless-Lang") == "python"

0 commit comments

Comments
 (0)