@override_settings(IOS_NOTIFICATIONS_PERSIST_NOTIFICATIONS=True)
    def test_call_push_ios_notification_command_default_persist(self):
        msg = 'some message'
        management.call_command('push_ios_notification', **{'message': msg, 'service': self.service.id, 'verbosity': 0})
        self.assertTrue(Notification.objects.filter(message=msg, last_sent_at__gt=self.started_at).exists())
        self.assertTrue(self.device in Device.objects.filter(last_notified_at__gt=self.started_at))
dataset/ETHPy150Open stephenmuss/django-ios-notifications/ios_notifications/tests.py/ManagementCommandPushNotificationTest.test_call_push_ios_notification_command_default_persist/original