def test_delete_dhis2_org_unit_does_nothing(self):
        with fixture_type_context(), \
                patch('corehq.apps.fixtures.models.FixtureDataItem.get') as mock_get:
            data_item_mock = Mock()
            mock_get.return_value = data_item_mock

            Dhis2OrgUnit.objects = FixtureManager(Dhis2OrgUnit, DOMAIN, ORG_UNIT_FIXTURES)
            org_unit = Dhis2OrgUnit(id='QXOOG2Foong', name='Somerset West', parent_id=None)
            org_unit.delete()

            self.assertFalse(mock_get.called)
            self.assertFalse(data_item_mock.delete.called)
Dhis2OrgUnit.delete should do nothing if it's not saved
dataset/ETHPy150Open dimagi/commcare-hq/custom/dhis2/tests.py/Dhis2OrgUnitTest.test_delete_dhis2_org_unit_does_nothing