def test_remove_unknown(self):
        self.assertRaises(
            Exception, launch_jrpc.remove_unknown, self.__leop_id, None
        )
        self.assertRaises(
            Exception, launch_jrpc.remove_unknown, self.__leop_id, -1
        )
        self.assertRaises(
            Exception, launch_jrpc.remove_unknown, self.__leop_id, 2
        )

        self.assertEqual(
            launch_jrpc.add_unknown(self.__leop_id, 1), 1,
            'Identifiers must match'
        )
        self.assertTrue(
            launch_jrpc.remove_unknown(self.__leop_id, 1),
            'Should have returned True'
        )
        self.assertEqual(
            len(launch_models.Launch.objects.get(
                identifier=self.__leop_id
            ).unknown_objects.all()),
            0,
            'List must be empty'
        )
Add an attribute to the element
dataset/ETHPy150Open satnet-project/server/services/leop/tests/test_jrpc.py/TestLaunchViews.test_remove_unknown--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/tablib-0.10.0/tablib/packages/odf/element.py/Element.setAttribute