@@ -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