diff options
Diffstat (limited to 'tests/test_domain_blocks.py')
-rw-r--r-- | tests/test_domain_blocks.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/test_domain_blocks.py b/tests/test_domain_blocks.py new file mode 100644 index 0000000..c96f7d6 --- /dev/null +++ b/tests/test_domain_blocks.py | |||
@@ -0,0 +1,13 @@ | |||
1 | import pytest | ||
2 | |||
3 | |||
4 | @pytest.mark.vcr() | ||
5 | def test_domain_blocks(api): | ||
6 | blocks = api.domain_blocks() | ||
7 | assert isinstance(blocks, list) | ||
8 | |||
9 | |||
10 | @pytest.mark.vcr() | ||
11 | def test_domain_block_unblock(api): | ||
12 | api.domain_block('example.com') | ||
13 | api.domain_unblock('example.com') | ||