Source

dictionary_switches / code / UnitTesting / TooMuchAccess.py

Full commit
1
2
3
4
5
6
7
8
# UnitTesting/TooMuchAccess.py

class TooMuchAccess(UnitTest):
    Testable tst = Testable()
    def test1(self):
        tst.f2() # Oops!
        tst.f3() # Oops!
        tst.f4() # OK