phi.tests.test_dummy module
lass A(object): """docstring for A.""" _S = None @property def S(self): return A._S lass B(A): """docstring for B.""" lass Compile(A): """docstring for Compile .""" lass TestDummy(object): """docstring for TestDummy.""" def test_global(self): a = A() b = B() c = Compile() A._S = "HOLA" assert b.S == a.S + ""
Classes
class A
docstring for A.
class A(object): """docstring for A.""" _S = None @property def S(self): return A._S
class B
docstring for B.
class B(A): """docstring for B."""
class Compile
docstring for Compile .
class Compile(A): """docstring for Compile ."""
class TestDummy
docstring for TestDummy.
class TestDummy(object): """docstring for TestDummy.""" def test_global(self): a = A() b = B() c = Compile() A._S = "HOLA" assert b.S == a.S + ""
Ancestors (in MRO)
- TestDummy
- __builtin__.object
Methods
def test_global(
self)
def test_global(self): a = A() b = B() c = Compile() A._S = "HOLA" assert b.S == a.S + ""