diff options
author | Lorenz Diener <[email protected]> | 2019-04-28 20:53:03 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-04-28 20:53:03 +0200 |
commit | c815cdb2128da4b9a96de56f739c1f24bf01755b (patch) | |
tree | 2868ae37a171dda3da9f1615e1cd38eb1f106bdc /tests | |
parent | 9c79715fbd79e044146cc08419a0e0999b52769b (diff) | |
download | mastodon.py-c815cdb2128da4b9a96de56f739c1f24bf01755b.tar.gz |
Matching is now path only - might help?
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_status.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_status.py b/tests/test_status.py index c6d62ae..88c59ce 100644 --- a/tests/test_status.py +++ b/tests/test_status.py | |||
@@ -123,7 +123,7 @@ def test_status_pin_unpin(status, api): | |||
123 | status = api.status_unpin(status['id']) | 123 | status = api.status_unpin(status['id']) |
124 | assert not status['pinned'] | 124 | assert not status['pinned'] |
125 | 125 | ||
126 | @pytest.mark.vcr() | 126 | @pytest.mark.vcr(match_on=['path']) |
127 | def test_scheduled_status(api): | 127 | def test_scheduled_status(api): |
128 | base_time = datetime.datetime(4000, 1, 1, 12, 13, 14) | 128 | base_time = datetime.datetime(4000, 1, 1, 12, 13, 14) |
129 | the_future = base_time + datetime.timedelta(minutes=20) | 129 | the_future = base_time + datetime.timedelta(minutes=20) |