Ejemplo n.º 1
0
 def test_clear(self):
     """ Test setting LDAPValueList's clear method. """
     lvl = LDAPValueList((1,2,3))
     lvl.append(4)
     lvl.clear()
     self.assertEqual(lvl, [])
Ejemplo n.º 2
0
def test_clear():
    """ Test setting LDAPValueList's clear method. """
    lvl = LDAPValueList((1, 2, 3))
    lvl.append(4)
    lvl.clear()
    assert lvl == []
Ejemplo n.º 3
0
def test_clear():
    """ Test setting LDAPValueList's clear method. """
    lvl = LDAPValueList((1, 2, 3))
    lvl.append(4)
    lvl.clear()
    assert lvl == []
Ejemplo n.º 4
0
 def test_clear(self):
     """ Test setting LDAPValueList's clear method. """
     lvl = LDAPValueList((1, 2, 3))
     lvl.append(4)
     lvl.clear()
     self.assertEqual(lvl, [])