Skip to content

Commit

Permalink
💚 Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AthAshino committed Dec 25, 2023
1 parent f3825c9 commit 6e18304
Show file tree
Hide file tree
Showing 164 changed files with 974 additions and 974 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
Then import the package:

```python
import listmonk_client
import listmonk
```

### Setuptools
Expand All @@ -39,7 +39,7 @@ python setup.py install --user
Then import the package:

```python
import listmonk_client
import listmonk
```

### Tests
Expand All @@ -53,13 +53,13 @@ Please follow the [installation procedure](#installation--usage) and then run th
```python

import time
import listmonk_client
from listmonk_client.rest import ApiException
import listmonk
from listmonk.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost:9000/api
# See configuration.py for a list of all supported configuration parameters.
configuration = listmonk_client.Configuration(
configuration = listmonk.Configuration(
host="http://localhost:9000/api"
)

Expand All @@ -69,15 +69,15 @@ configuration = listmonk_client.Configuration(
# satisfies your auth use case.

# Configure HTTP basic authorization: basicAuth
configuration = listmonk_client.Configuration(
configuration = listmonk.Configuration(
username=os.environ["USERNAME"],
password=os.environ["PASSWORD"]
)

# Enter a context with an instance of the API client
with listmonk_client.ApiClient(configuration) as api_client:
with listmonk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = listmonk_client.AdminApi(api_client)
api_instance = listmonk.AdminApi(api_client)

try:
api_response = api_instance.reload_app()
Expand Down
14 changes: 7 additions & 7 deletions docs/AdminApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ restarts the app
```python
import time
import os
import listmonk_client
from listmonk_client.models.get_health_check200_response import GetHealthCheck200Response
from listmonk_client.rest import ApiException
import listmonk
from listmonk.models.get_health_check200_response import GetHealthCheck200Response
from listmonk.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost:9000/api
# See configuration.py for a list of all supported configuration parameters.
configuration = listmonk_client.Configuration(
configuration = listmonk.Configuration(
host="http://localhost:9000/api"
)

Expand All @@ -38,15 +38,15 @@ configuration = listmonk_client.Configuration(
# satisfies your auth use case.

# Configure HTTP basic authorization: basicAuth
configuration = listmonk_client.Configuration(
configuration = listmonk.Configuration(
username=os.environ["USERNAME"],
password=os.environ["PASSWORD"]
)

# Enter a context with an instance of the API client
with listmonk_client.ApiClient(configuration) as api_client:
with listmonk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = listmonk_client.AdminApi(api_client)
api_instance = listmonk.AdminApi(api_client)

try:
api_response = api_instance.reload_app()
Expand Down
2 changes: 1 addition & 1 deletion docs/Bounce.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
## Example

```python
from listmonk_client.models.bounce import Bounce
from listmonk.models.bounce import Bounce

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/BounceResultsInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Name | Type | Description | Notes
## Example

```python
from listmonk_client.models.bounce_results_inner import BounceResultsInner
from listmonk.models.bounce_results_inner import BounceResultsInner

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/BounceResultsInnerCampaign.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
## Example

```python
from listmonk_client.models.bounce_results_inner_campaign import BounceResultsInnerCampaign
from listmonk.models.bounce_results_inner_campaign import BounceResultsInnerCampaign

# TODO update the JSON string below
json = "{}"
Expand Down
56 changes: 28 additions & 28 deletions docs/BouncesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ handles bounce deletion, either a single one (ID in the URI), or a list.
```python
import time
import os
import listmonk_client
from listmonk_client.models.get_health_check200_response import GetHealthCheck200Response
from listmonk_client.rest import ApiException
import listmonk
from listmonk.models.get_health_check200_response import GetHealthCheck200Response
from listmonk.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost:9000/api
# See configuration.py for a list of all supported configuration parameters.
configuration = listmonk_client.Configuration(
configuration = listmonk.Configuration(
host="http://localhost:9000/api"
)

Expand All @@ -41,15 +41,15 @@ configuration = listmonk_client.Configuration(
# satisfies your auth use case.

# Configure HTTP basic authorization: basicAuth
configuration = listmonk_client.Configuration(
configuration = listmonk.Configuration(
username=os.environ["USERNAME"],
password=os.environ["PASSWORD"]
)

# Enter a context with an instance of the API client
with listmonk_client.ApiClient(configuration) as api_client:
with listmonk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = listmonk_client.BouncesApi(api_client)
api_instance = listmonk.BouncesApi(api_client)
id = 56 # int | The id value of the bounce you want to delete.

try:
Expand Down Expand Up @@ -102,14 +102,14 @@ handles retrieval of bounce records.
```python
import time
import os
import listmonk_client
from listmonk_client.models.get_health_check200_response import GetHealthCheck200Response
from listmonk_client.rest import ApiException
import listmonk
from listmonk.models.get_health_check200_response import GetHealthCheck200Response
from listmonk.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost:9000/api
# See configuration.py for a list of all supported configuration parameters.
configuration = listmonk_client.Configuration(
configuration = listmonk.Configuration(
host="http://localhost:9000/api"
)

Expand All @@ -119,15 +119,15 @@ configuration = listmonk_client.Configuration(
# satisfies your auth use case.

# Configure HTTP basic authorization: basicAuth
configuration = listmonk_client.Configuration(
configuration = listmonk.Configuration(
username=os.environ["USERNAME"],
password=os.environ["PASSWORD"]
)

# Enter a context with an instance of the API client
with listmonk_client.ApiClient(configuration) as api_client:
with listmonk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = listmonk_client.BouncesApi(api_client)
api_instance = listmonk.BouncesApi(api_client)
all = True # bool | flag for multiple bounce record deletion (optional)
id = 'id_example' # str | list of bounce ids to delete (optional)

Expand Down Expand Up @@ -182,14 +182,14 @@ handles retrieval of bounce record by id
```python
import time
import os
import listmonk_client
from listmonk_client.models.get_bounce_by_id200_response import GetBounceById200Response
from listmonk_client.rest import ApiException
import listmonk
from listmonk.models.get_bounce_by_id200_response import GetBounceById200Response
from listmonk.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost:9000/api
# See configuration.py for a list of all supported configuration parameters.
configuration = listmonk_client.Configuration(
configuration = listmonk.Configuration(
host="http://localhost:9000/api"
)

Expand All @@ -199,15 +199,15 @@ configuration = listmonk_client.Configuration(
# satisfies your auth use case.

# Configure HTTP basic authorization: basicAuth
configuration = listmonk_client.Configuration(
configuration = listmonk.Configuration(
username=os.environ["USERNAME"],
password=os.environ["PASSWORD"]
)

# Enter a context with an instance of the API client
with listmonk_client.ApiClient(configuration) as api_client:
with listmonk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = listmonk_client.BouncesApi(api_client)
api_instance = listmonk.BouncesApi(api_client)
id = 56 # int | The id value of the bounce you want to retreive.

try:
Expand Down Expand Up @@ -260,14 +260,14 @@ handles retrieval of bounce records.
```python
import time
import os
import listmonk_client
from listmonk_client.models.get_bounces200_response import GetBounces200Response
from listmonk_client.rest import ApiException
import listmonk
from listmonk.models.get_bounces200_response import GetBounces200Response
from listmonk.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost:9000/api
# See configuration.py for a list of all supported configuration parameters.
configuration = listmonk_client.Configuration(
configuration = listmonk.Configuration(
host="http://localhost:9000/api"
)

Expand All @@ -277,15 +277,15 @@ configuration = listmonk_client.Configuration(
# satisfies your auth use case.

# Configure HTTP basic authorization: basicAuth
configuration = listmonk_client.Configuration(
configuration = listmonk.Configuration(
username=os.environ["USERNAME"],
password=os.environ["PASSWORD"]
)

# Enter a context with an instance of the API client
with listmonk_client.ApiClient(configuration) as api_client:
with listmonk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = listmonk_client.BouncesApi(api_client)
api_instance = listmonk.BouncesApi(api_client)
campaign_id = 56 # int | bounce record retrieval of particular campaign (optional)
page = 56 # int | total number of pages (optional)
per_page = 56 # int | number of items per page (optional)
Expand Down
2 changes: 1 addition & 1 deletion docs/Campaign.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Name | Type | Description | Notes
## Example

```python
from listmonk_client.models.campaign import Campaign
from listmonk.models.campaign import Campaign

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/CampaignAnalyticsCount.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Name | Type | Description | Notes
## Example

```python
from listmonk_client.models.campaign_analytics_count import CampaignAnalyticsCount
from listmonk.models.campaign_analytics_count import CampaignAnalyticsCount

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/CampaignContentRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Name | Type | Description | Notes
## Example

```python
from listmonk_client.models.campaign_content_request import CampaignContentRequest
from listmonk.models.campaign_content_request import CampaignContentRequest

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/CampaignRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Name | Type | Description | Notes
## Example

```python
from listmonk_client.models.campaign_request import CampaignRequest
from listmonk.models.campaign_request import CampaignRequest

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/CampaignRequestSendAt.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
## Example

```python
from listmonk_client.models.campaign_request_send_at import CampaignRequestSendAt
from listmonk.models.campaign_request_send_at import CampaignRequestSendAt

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/CampaignStats.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Name | Type | Description | Notes
## Example

```python
from listmonk_client.models.campaign_stats import CampaignStats
from listmonk.models.campaign_stats import CampaignStats

# TODO update the JSON string below
json = "{}"
Expand Down
2 changes: 1 addition & 1 deletion docs/CampaignUpdate.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Name | Type | Description | Notes
## Example

```python
from listmonk_client.models.campaign_update import CampaignUpdate
from listmonk.models.campaign_update import CampaignUpdate

# TODO update the JSON string below
json = "{}"
Expand Down
Loading

0 comments on commit 6e18304

Please sign in to comment.