示例#1
0
 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')
示例#2
0
def test_has_get():
    c = Cell('\n! n="v" | 00', True)
    assert c.has_attr('n')
    assert c.get_attr('n') == 'v'