aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_instance.py')
-rw-r--r--tests/test_instance.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test_instance.py b/tests/test_instance.py
new file mode 100644
index 0000000..7b6dc49
--- /dev/null
+++ b/tests/test_instance.py
@@ -0,0 +1,10 @@
1import pytest
2
3@pytest.mark.vcr()
4def test_instance(api):
5 instance = api.instance()
6
7 assert isinstance(instance, dict) # hehe, instance is instance
8
9 expected_keys = set(('description', 'email', 'title', 'uri', 'version', 'urls'))
10 assert set(instance.keys()) >= expected_keys
Powered by cgit v1.2.3 (git 2.41.0)