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