Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
update tests and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
skoudoro committed Jan 13, 2022
1 parent 0a2f191 commit 97ee737
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ Then, you do not need to precise it in your code:

```python
>>> api.subscribers.activity(id='1343965485')
>>> api.subscribers.activity(id='1343965485', limit=50, offset=1, atype='clicks')
```

#### Create subscriber
Expand Down
2 changes: 1 addition & 1 deletion mailerlite/tests/test_subscriber.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def test_subscribers_crud(header):
groups = subscriber.groups(email=mail)
assert len(groups) in [0, 1]

activity = subscriber.activity(email=mail)
activity = subscriber.activity(email=mail, limit=50, offset=1)
assert len(activity) in [0, 1]

with pytest.raises(IOError):
Expand Down

0 comments on commit 97ee737

Please sign in to comment.