aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_domain_blocks.py')
-rw-r--r--tests/test_domain_blocks.py13
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 @@
1import pytest
2
3
4@pytest.mark.vcr()
5def test_domain_blocks(api):
6 blocks = api.domain_blocks()
7 assert isinstance(blocks, list)
8
9
10@pytest.mark.vcr()
11def test_domain_block_unblock(api):
12 api.domain_block('example.com')
13 api.domain_unblock('example.com')
Powered by cgit v1.2.3 (git 2.41.0)