aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2019-04-28 20:53:03 +0200
committerLorenz Diener <[email protected]>2019-04-28 20:53:03 +0200
commitc815cdb2128da4b9a96de56f739c1f24bf01755b (patch)
tree2868ae37a171dda3da9f1615e1cd38eb1f106bdc
parent9c79715fbd79e044146cc08419a0e0999b52769b (diff)
downloadmastodon.py-c815cdb2128da4b9a96de56f739c1f24bf01755b.tar.gz
Matching is now path only - might help?
-rw-r--r--tests/test_status.py2
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'])
127def test_scheduled_status(api): 127def 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)
Powered by cgit v1.2.3 (git 2.41.0)