@override_settings()
    def test_call_push_ios_notification_command_default_persist_not_specified(self):
        try:
            # making sure that IOS_NOTIFICATIONS_PERSIST_NOTIFICATIONS is not specified in app settings, otherwise this test means nothing
            del settings.IOS_NOTIFICATIONS_PERSIST_NOTIFICATIONS
        except AttributeError:
            pass
        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(Device.objects.filter(last_notified_at__gt=self.started_at) in self.device)
dataset/ETHPy150Open stephenmuss/django-ios-notifications/ios_notifications/tests.py/ManagementCommandPushNotificationTest.test_call_push_ios_notification_command_default_persist_not_specified/swapped operands of `in`