Beispiel #1
0
def test_reminder_scheduled_correctly(intent):
    with pytest.warns(None):
        events.ReminderScheduled(intent, datetime.now())
Beispiel #2
0
def test_reminder_scheduled_with_action(intent):
    with pytest.warns(FutureWarning):
        events.ReminderScheduled(intent, datetime.now())