def test_layout_single(self): AdjointLayout([self.view1])
def test_adjointlayout_single(self): layout = AdjointLayout([self.view1]) self.assertEqual(layout.main, self.view1)