diff options
author | codl <[email protected]> | 2017-11-27 14:35:02 +0100 |
---|---|---|
committer | codl <[email protected]> | 2017-11-27 14:35:02 +0100 |
commit | 304145f4420180b23e0836a6d11fc0cec0e341bd (patch) | |
tree | e35d03c41a4f6b3f11c52257b62d0c4666ea9ce3 /tests/test_instance.py | |
parent | cfc9c1ce0c6440506d3a88397c65ad47bdd2d662 (diff) | |
download | mastodon.py-304145f4420180b23e0836a6d11fc0cec0e341bd.tar.gz |
rename mastodon and mastodon_anonymous fixtures to api, api_anonymous
it was starting to get confusing
Diffstat (limited to 'tests/test_instance.py')
-rw-r--r-- | tests/test_instance.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_instance.py b/tests/test_instance.py index 3ea3cf1..7b6dc49 100644 --- a/tests/test_instance.py +++ b/tests/test_instance.py | |||
@@ -1,8 +1,8 @@ | |||
1 | import pytest | 1 | import pytest |
2 | 2 | ||
3 | @pytest.mark.vcr() | 3 | @pytest.mark.vcr() |
4 | def test_instance(mastodon): | 4 | def test_instance(api): |
5 | instance = mastodon.instance() | 5 | instance = api.instance() |
6 | 6 | ||
7 | assert isinstance(instance, dict) # hehe, instance is instance | 7 | assert isinstance(instance, dict) # hehe, instance is instance |
8 | 8 | ||