aboutsummaryrefslogblamecommitdiff
blob: 7b6dc494aae45177a9bf511f045f71b6f758a7c6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                  

                             




                                                                                    
import pytest

@pytest.mark.vcr()
def test_instance(api):
    instance = api.instance()

    assert isinstance(instance, dict)  # hehe, instance is instance

    expected_keys = set(('description', 'email', 'title', 'uri', 'version', 'urls'))
    assert set(instance.keys()) >= expected_keys
Powered by cgit v1.2.3 (git 2.41.0)