Debian Codegraph @

tests/__snapshots__/test_utils.ambr

raw
1 # serializer version: 1
2 # name: test_async_check_latency_multiple_addresses
3 list([
4 dict({
5 'address': '999.999.999.999',
6 'avg_rtt': 10.0,
7 'is_alive': True,
8 'max_rtt': 15.0,
9 'min_rtt': 5.0,
10 }),
11 dict({
12 'address': '9.9.9.9',
13 'avg_rtt': 15.0,
14 'is_alive': True,
15 'max_rtt': 20.0,
16 'min_rtt': 10.0,
17 }),
18 dict({
19 'address': '1.1.1.1',
20 'avg_rtt': 20.0,
21 'is_alive': True,
22 'max_rtt': 25.0,
23 'min_rtt': 15.0,
24 }),
25 ])
26 # ---
27 # name: test_async_check_latency_partial_unreachable
28 list([
29 dict({
30 'address': '1.1.1.1',
31 'avg_rtt': 20.0,
32 'is_alive': True,
33 'max_rtt': 25.0,
34 'min_rtt': 15.0,
35 }),
36 dict({
37 'address': '999.999.999.999',
38 'avg_rtt': 0.0,
39 'is_alive': False,
40 'max_rtt': 0.0,
41 'min_rtt': 0.0,
42 }),
43 dict({
44 'address': '9.9.9.9',
45 'avg_rtt': 15.0,
46 'is_alive': True,
47 'max_rtt': 20.0,
48 'min_rtt': 10.0,
49 }),
50 ])
51 # ---
52 # name: test_async_check_latency_with_ip
53 list([
54 dict({
55 'address': '999.999.999.999',
56 'avg_rtt': 10.5,
57 'is_alive': True,
58 'max_rtt': 15.0,
59 'min_rtt': 5.0,
60 }),
61 ])
62 # ---