def testAccessInvaliA(self):
    'Testing access in invalid units'
    a = A(sq_m=100)
    self.assertFalse(hasattr(a, 'banana'))
Testing access in invalid units
def testAccessInvaliA(self):
    
    a = A(sq_m=100)
    self.assertFalse(hasattr(a, 'banana'))