Example #1
0
def test_dubstep_gives_wubs():
    assert 'wubwub' in dubstep('', '', '', '', '')
Example #2
0
def test_dubstep_after_timeout_resets_count():
    dubstep._last = time.time() - 30
    dubstep._counts['#bots'] = 10
    dubstep('', '#bots', '', '', '')
    assert dubstep._counts['#bots'] == 1