def test_edit_asn(self):

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

        asn = self.nipap.add_asn(self.auth, data)
        self.nipap.edit_asn(self.auth, data['asn'], { 'name': 'b0rk' })
        self.assertEquals(self.nipap.list_asn(self.auth, { 'asn': 3 })[0]['name'], 'b0rk', "Edited ASN still has it's old name.")
        self.assertRaises(NipapExtraneousInputError, self.nipap.edit_asn, self.auth, {'asn': 3}, {'asn': 4, 'name': 'Test ASN #4'})
Test whether the ``save_translations()`` method skips fallback languages
dataset/ETHPy150Open SpriteLink/NIPAP/tests/nipapbase.py/NipapTest.test_edit_asn--crossover with--dataset/ETHPy150Open edoburu/django-parler/parler/tests/test_model_attributes.py/ModelAttributeTests.test_save_ignore_fallback_marker