X Tutup
Skip to content

Commit 578eb4e

Browse files
committed
test5
1 parent 7720224 commit 578eb4e

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

tests/test_api.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,22 @@ def test_available_api_calls():
3131

3232

3333

34-
# @vcr.use_cassette
35-
# def test_domain_profile():
36-
# with api.domain_profile('google.com') as response:
37-
# assert 'history' in response
38-
# assert 'server' in response
39-
# assert 'name_servers' in response
40-
# assert 'website_data' in response
41-
# assert 'seo' in response
42-
# assert 'registration' in response
43-
# assert 'registrant' in response
44-
45-
# history = response['history']
46-
# assert 'whois' in history
47-
# assert 'registrar' in history
48-
# assert 'name_server' in history
49-
# assert 'ip_address' in history
34+
@vcr.use_cassette
35+
def test_domain_profile():
36+
with api.domain_profile('google.com') as response:
37+
assert 'history' in response
38+
assert 'server' in response
39+
assert 'name_servers' in response
40+
assert 'website_data' in response
41+
assert 'seo' in response
42+
assert 'registration' in response
43+
assert 'registrant' in response
44+
45+
history = response['history']
46+
assert 'whois' in history
47+
assert 'registrar' in history
48+
assert 'name_server' in history
49+
assert 'ip_address' in history
5050

5151

5252
# @vcr.use_cassette

0 commit comments

Comments
 (0)
X Tutup