aboutsummaryrefslogtreecommitdiff
blob: c96f7d65c3f8b744a1d1c0ad20b209c217ab7325 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import pytest


@pytest.mark.vcr()
def test_domain_blocks(api):
    blocks = api.domain_blocks()
    assert isinstance(blocks, list)


@pytest.mark.vcr()
def test_domain_block_unblock(api):
    api.domain_block('example.com')
    api.domain_unblock('example.com')
Powered by cgit v1.2.3 (git 2.41.0)