def test_remove_asn(self):

        data = {
            'asn': 2,
            'name': 'Test ASN #2'
        }

        asn = self.nipap.add_asn(self.auth, data)
        self.nipap.remove_asn(self.auth, asn)
        self.assertEquals(0, len(self.nipap.list_asn(self.auth, { 'asn': 2 })), "Removed ASN still in database")
Test removing ASNs from NIPAP.
dataset/ETHPy150Open SpriteLink/NIPAP/tests/nipapbase.py/NipapTest.test_remove_asn