| 77 | |
| 78 | if __name__ == "__main__": |
| 79 | class Test: |
| 80 | def __init__(self): |
| 81 | self.var = "a String!" |
| 82 | self.intvar = 20 |
| 83 | self.data = [1, 2] |
| 84 | self.lut = {"key" : 999} |
| 85 | |
| 86 | def get(self): |
| 87 | return "from get()!" |
| 88 | |
| 89 | def factory(self): |
| 90 | return Test() |
| 91 | |
| 92 | def __repr__(self): |
| 93 | return "A Test instance!" |
| 94 | |
| 95 | z = Test() |
| 96 | z.child = Test() |
no outgoing calls
no test coverage detected