def test_chg_del(self):
        a = TestModel.objects.create(name='James', cash=7)
        self.synchronize()
        self.wait()
        a.name = 'Bond'
        a.save()
        a.delete()
        self.assertNoActionOnSynchronize(TestModel, delete=False)
        self.assertRemoteCount(0, TestModel)
Test the assertion of a location state.
dataset/ETHPy150Open zlorf/django-synchro/synchro/tests.py/SimpleSynchroTests.test_chg_del--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/tests/components/device_tracker/test_owntracks.py/TestDeviceTrackerOwnTracks.assert_location_state