Debian Codegraph @

tests/test-propertycache.py.out

raw
1
2 === property cache ===
3
4 calllog: []
5 cached value (unfiltered): NOCACHE
6
7 = first access on unfiltered, should do a call
8 access: 0
9 calllog: [0]
10 cached value (unfiltered): 0
11
12 = second access on unfiltered, should not do call
13 access 0
14 calllog: [0]
15 cached value (unfiltered): 0
16
17 = first access on "visible" view, should do a call
18 cached value ("visible" view): NOCACHE
19 access: 7
20 calllog: [0, 7]
21 cached value (unfiltered): 0
22 cached value ("visible" view): 7
23
24 = second access on "visible view", should not do call
25 access: 7
26 calllog: [0, 7]
27 cached value (unfiltered): 0
28 cached value ("visible" view): 7
29
30 = no effect on other view
31 cached value ("immutable" view): NOCACHE
32 access: 9
33 calllog: [0, 7, 9]
34 cached value (unfiltered): 0
35 cached value ("visible" view): 7
36 cached value ("immutable" view): 9
37
38
39 === unfiltered property cache ===
40
41 unficalllog: []
42 cached value (unfiltered): NOCACHE
43 cached value ("visible" view): NOCACHE
44 cached value ("immutable" view): NOCACHE
45
46 = first access on unfiltered, should do a call
47 access (unfiltered): 100
48 unficalllog: [100]
49 cached value (unfiltered): 100
50
51 = second access on unfiltered, should not do call
52 access (unfiltered): 100
53 unficalllog: [100]
54 cached value (unfiltered): 100
55
56 = access on view should use the unfiltered cache
57 access (unfiltered): 100
58 access ("visible" view): 100
59 access ("immutable" view): 100
60 unficalllog: [100]
61 cached value (unfiltered): 100
62 cached value ("visible" view): NOCACHE
63 cached value ("immutable" view): NOCACHE
64
65 = even if we clear the unfiltered cache
66 cached value (unfiltered): NOCACHE
67 cached value ("visible" view): NOCACHE
68 cached value ("immutable" view): NOCACHE
69 unficalllog: [100]
70 access ("visible" view): 100
71 unficalllog: [100, 100]
72 cached value (unfiltered): 100
73 cached value ("visible" view): NOCACHE
74 cached value ("immutable" view): NOCACHE
75 access ("immutable" view): 100
76 unficalllog: [100, 100]
77 cached value (unfiltered): 100
78 cached value ("visible" view): NOCACHE
79 cached value ("immutable" view): NOCACHE
80 access (unfiltered): 100
81 unficalllog: [100, 100]
82 cached value (unfiltered): 100
83 cached value ("visible" view): NOCACHE
84 cached value ("immutable" view): NOCACHE