Esempio n. 1
0
def test_inertial_dampener():
    reminder_storage.clear()
    state_storage.clear()

    client.begin()

    engage()
    assert queue().count() == 0, "Reminding when there's no one to remind?"
Esempio n. 2
0
 def test_clear(self):
     reminder_storage.set('spock@localhost', datetime.date.today())
     reminder_storage.clear()
     assert not reminder_storage.get('spock@localhost')
Esempio n. 3
0
 def setUp(self):
     reminder_storage.clear()
Esempio n. 4
0
    def setUp(self):
        reminder_storage.clear()
        state_storage.clear()

        client.begin()
Esempio n. 5
0
 def test_clear(self):
     reminder_storage.set('spock@localhost', datetime.date.today())
     reminder_storage.clear()
     assert not reminder_storage.get('spock@localhost')
Esempio n. 6
0
 def setUp(self):
     reminder_storage.clear()