-
Notifications
You must be signed in to change notification settings - Fork 7
/
mocked_data.py
85 lines (83 loc) · 2.4 KB
/
mocked_data.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
mocked_single_contact = dict(
namesilo=dict(
reply=dict(
contact=dict(
first_name="First",
last_name="Last",
email="some.email@some.domain.com",
phone="003816050005000",
address="Fake Address 18",
city="Zrenjanin",
state="Vojvodina",
country="RS",
zip="23000",
contact_id="500"
),
code=300,
detail=""
)
)
)
mocked_data = {
'namesilo': {
'reply': {
'code': 300,
'detail': '',
'balance': '500',
'new_balance': "505",
'available': [],
'contact': [
dict(
first_name="First",
last_name="Last",
email="some.email@some.domain.com",
phone="003816050005000",
address="Fake Address 18",
city="Zrenjanin",
state="Vojvodina",
country="RS",
zip="23000",
contact_id="500"
)
],
'auto_renew': True,
'created': '',
'expires': '',
'locked': '',
'private': '',
'status': '',
'traffic_type': '',
'nameservers': {
'nameserver': [
{
'#text': 'name-server-1'
},
{
'#text': 'name-server-2'
},
{
'#text': 'name-server-3'
}
]
},
'contact_ids': {
'administrative': '',
'billing': '',
'registrant': '',
'technical': ''
},
'domains': {
'domain': ['some-example-domain.com', 'example.com']
},
'resource_record': [
{
'record_id': 'e3f383786a647e83c49c6082c7ce8015',
'type': 'A',
'host': 'some-domain.com',
'value': '107.161.23.204'
}
],
'record_id': 'e3f383786a647e83c49c6082c7ce8014'
}
}
}