Debian Codegraph @

docs/plugins/attrib_example.py

raw
1 import unittest
2
3
4 class Test(unittest.TestCase):
5 def test_fast(self):
6 pass
7
8 test_fast.fast = 1
9 test_fast.layer = 2
10 test_fast.flags = ["blue", "green"]
11
12 def test_faster(self):
13 pass
14
15 test_faster.fast = 1
16 test_faster.layer = 1
17 test_faster.flags = ["red", "green"]
18
19 def test_slow(self):
20 pass
21
22 test_slow.fast = 0
23 test_slow.slow = 1
24 test_slow.layer = 2
25
26 def test_slower(self):
27 pass
28
29 test_slower.slow = 1
30 test_slower.layer = 3
31 test_slower.flags = ["blue", "red"]