@@ -29,7 +29,7 @@ class TestComments:
2929 @parametrize
3030 def test_method_create (self , client : OnlyFansAPI ) -> None :
3131 comment = client .posts .comments .create (
32- post_id = "voluptatem " ,
32+ post_id = "autem " ,
3333 account = "acct_XXXXXXXXXXXXXXX" ,
3434 text = "This is a comment." ,
3535 )
@@ -39,7 +39,7 @@ def test_method_create(self, client: OnlyFansAPI) -> None:
3939 @parametrize
4040 def test_method_create_with_all_params (self , client : OnlyFansAPI ) -> None :
4141 comment = client .posts .comments .create (
42- post_id = "voluptatem " ,
42+ post_id = "autem " ,
4343 account = "acct_XXXXXXXXXXXXXXX" ,
4444 text = "This is a comment." ,
4545 answer_to = 123 ,
@@ -51,7 +51,7 @@ def test_method_create_with_all_params(self, client: OnlyFansAPI) -> None:
5151 @parametrize
5252 def test_raw_response_create (self , client : OnlyFansAPI ) -> None :
5353 response = client .posts .comments .with_raw_response .create (
54- post_id = "voluptatem " ,
54+ post_id = "autem " ,
5555 account = "acct_XXXXXXXXXXXXXXX" ,
5656 text = "This is a comment." ,
5757 )
@@ -65,7 +65,7 @@ def test_raw_response_create(self, client: OnlyFansAPI) -> None:
6565 @parametrize
6666 def test_streaming_response_create (self , client : OnlyFansAPI ) -> None :
6767 with client .posts .comments .with_streaming_response .create (
68- post_id = "voluptatem " ,
68+ post_id = "autem " ,
6969 account = "acct_XXXXXXXXXXXXXXX" ,
7070 text = "This is a comment." ,
7171 ) as response :
@@ -82,7 +82,7 @@ def test_streaming_response_create(self, client: OnlyFansAPI) -> None:
8282 def test_path_params_create (self , client : OnlyFansAPI ) -> None :
8383 with pytest .raises (ValueError , match = r"Expected a non-empty value for `account` but received ''" ):
8484 client .posts .comments .with_raw_response .create (
85- post_id = "voluptatem " ,
85+ post_id = "autem " ,
8686 account = "" ,
8787 text = "This is a comment." ,
8888 )
@@ -98,7 +98,7 @@ def test_path_params_create(self, client: OnlyFansAPI) -> None:
9898 @parametrize
9999 def test_method_list (self , client : OnlyFansAPI ) -> None :
100100 comment = client .posts .comments .list (
101- post_id = "voluptatem " ,
101+ post_id = "autem " ,
102102 account = "acct_XXXXXXXXXXXXXXX" ,
103103 )
104104 assert_matches_type (CommentListResponse , comment , path = ["response" ])
@@ -107,7 +107,7 @@ def test_method_list(self, client: OnlyFansAPI) -> None:
107107 @parametrize
108108 def test_method_list_with_all_params (self , client : OnlyFansAPI ) -> None :
109109 comment = client .posts .comments .list (
110- post_id = "voluptatem " ,
110+ post_id = "autem " ,
111111 account = "acct_XXXXXXXXXXXXXXX" ,
112112 limit = 10 ,
113113 offset = 0 ,
@@ -119,7 +119,7 @@ def test_method_list_with_all_params(self, client: OnlyFansAPI) -> None:
119119 @parametrize
120120 def test_raw_response_list (self , client : OnlyFansAPI ) -> None :
121121 response = client .posts .comments .with_raw_response .list (
122- post_id = "voluptatem " ,
122+ post_id = "autem " ,
123123 account = "acct_XXXXXXXXXXXXXXX" ,
124124 )
125125
@@ -132,7 +132,7 @@ def test_raw_response_list(self, client: OnlyFansAPI) -> None:
132132 @parametrize
133133 def test_streaming_response_list (self , client : OnlyFansAPI ) -> None :
134134 with client .posts .comments .with_streaming_response .list (
135- post_id = "voluptatem " ,
135+ post_id = "autem " ,
136136 account = "acct_XXXXXXXXXXXXXXX" ,
137137 ) as response :
138138 assert not response .is_closed
@@ -148,7 +148,7 @@ def test_streaming_response_list(self, client: OnlyFansAPI) -> None:
148148 def test_path_params_list (self , client : OnlyFansAPI ) -> None :
149149 with pytest .raises (ValueError , match = r"Expected a non-empty value for `account` but received ''" ):
150150 client .posts .comments .with_raw_response .list (
151- post_id = "voluptatem " ,
151+ post_id = "autem " ,
152152 account = "" ,
153153 )
154154
@@ -418,7 +418,7 @@ class TestAsyncComments:
418418 @parametrize
419419 async def test_method_create (self , async_client : AsyncOnlyFansAPI ) -> None :
420420 comment = await async_client .posts .comments .create (
421- post_id = "voluptatem " ,
421+ post_id = "autem " ,
422422 account = "acct_XXXXXXXXXXXXXXX" ,
423423 text = "This is a comment." ,
424424 )
@@ -428,7 +428,7 @@ async def test_method_create(self, async_client: AsyncOnlyFansAPI) -> None:
428428 @parametrize
429429 async def test_method_create_with_all_params (self , async_client : AsyncOnlyFansAPI ) -> None :
430430 comment = await async_client .posts .comments .create (
431- post_id = "voluptatem " ,
431+ post_id = "autem " ,
432432 account = "acct_XXXXXXXXXXXXXXX" ,
433433 text = "This is a comment." ,
434434 answer_to = 123 ,
@@ -440,7 +440,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncOnlyFansAP
440440 @parametrize
441441 async def test_raw_response_create (self , async_client : AsyncOnlyFansAPI ) -> None :
442442 response = await async_client .posts .comments .with_raw_response .create (
443- post_id = "voluptatem " ,
443+ post_id = "autem " ,
444444 account = "acct_XXXXXXXXXXXXXXX" ,
445445 text = "This is a comment." ,
446446 )
@@ -454,7 +454,7 @@ async def test_raw_response_create(self, async_client: AsyncOnlyFansAPI) -> None
454454 @parametrize
455455 async def test_streaming_response_create (self , async_client : AsyncOnlyFansAPI ) -> None :
456456 async with async_client .posts .comments .with_streaming_response .create (
457- post_id = "voluptatem " ,
457+ post_id = "autem " ,
458458 account = "acct_XXXXXXXXXXXXXXX" ,
459459 text = "This is a comment." ,
460460 ) as response :
@@ -471,7 +471,7 @@ async def test_streaming_response_create(self, async_client: AsyncOnlyFansAPI) -
471471 async def test_path_params_create (self , async_client : AsyncOnlyFansAPI ) -> None :
472472 with pytest .raises (ValueError , match = r"Expected a non-empty value for `account` but received ''" ):
473473 await async_client .posts .comments .with_raw_response .create (
474- post_id = "voluptatem " ,
474+ post_id = "autem " ,
475475 account = "" ,
476476 text = "This is a comment." ,
477477 )
@@ -487,7 +487,7 @@ async def test_path_params_create(self, async_client: AsyncOnlyFansAPI) -> None:
487487 @parametrize
488488 async def test_method_list (self , async_client : AsyncOnlyFansAPI ) -> None :
489489 comment = await async_client .posts .comments .list (
490- post_id = "voluptatem " ,
490+ post_id = "autem " ,
491491 account = "acct_XXXXXXXXXXXXXXX" ,
492492 )
493493 assert_matches_type (CommentListResponse , comment , path = ["response" ])
@@ -496,7 +496,7 @@ async def test_method_list(self, async_client: AsyncOnlyFansAPI) -> None:
496496 @parametrize
497497 async def test_method_list_with_all_params (self , async_client : AsyncOnlyFansAPI ) -> None :
498498 comment = await async_client .posts .comments .list (
499- post_id = "voluptatem " ,
499+ post_id = "autem " ,
500500 account = "acct_XXXXXXXXXXXXXXX" ,
501501 limit = 10 ,
502502 offset = 0 ,
@@ -508,7 +508,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncOnlyFansAPI)
508508 @parametrize
509509 async def test_raw_response_list (self , async_client : AsyncOnlyFansAPI ) -> None :
510510 response = await async_client .posts .comments .with_raw_response .list (
511- post_id = "voluptatem " ,
511+ post_id = "autem " ,
512512 account = "acct_XXXXXXXXXXXXXXX" ,
513513 )
514514
@@ -521,7 +521,7 @@ async def test_raw_response_list(self, async_client: AsyncOnlyFansAPI) -> None:
521521 @parametrize
522522 async def test_streaming_response_list (self , async_client : AsyncOnlyFansAPI ) -> None :
523523 async with async_client .posts .comments .with_streaming_response .list (
524- post_id = "voluptatem " ,
524+ post_id = "autem " ,
525525 account = "acct_XXXXXXXXXXXXXXX" ,
526526 ) as response :
527527 assert not response .is_closed
@@ -537,7 +537,7 @@ async def test_streaming_response_list(self, async_client: AsyncOnlyFansAPI) ->
537537 async def test_path_params_list (self , async_client : AsyncOnlyFansAPI ) -> None :
538538 with pytest .raises (ValueError , match = r"Expected a non-empty value for `account` but received ''" ):
539539 await async_client .posts .comments .with_raw_response .list (
540- post_id = "voluptatem " ,
540+ post_id = "autem " ,
541541 account = "" ,
542542 )
543543
0 commit comments