def test_false(self): a = Cell(content=False) b = Cell(content='yes') c = Cell() switch(a, b, c) scheduler.run() self.assertEqual(c.content, None)
def test_true(self): a = Cell(content=True) b = Cell(content='yes') c = Cell() switch(a, b, c) scheduler.run() self.assertEqual(c.content, 'yes')