def test_has_get(self): c = Cell('\n! n="v" | 00', True) self.assertTrue(c.has_attr('n')) self.assertEqual(c.get_attr('n'), 'v')
def test_has_get(): c = Cell('\n! n="v" | 00', True) assert c.has_attr('n') assert c.get_attr('n') == 'v'