all death to the tab character
This commit is contained in:
@@ -44,7 +44,7 @@ config = {
|
|||||||
'moin-modified-user': (),
|
'moin-modified-user': (),
|
||||||
'moin-disabled-user': (),
|
'moin-disabled-user': (),
|
||||||
|
|
||||||
'tea_steep_time': (3*60 + 40),
|
'tea_steep_time': (3 * 60 + 40),
|
||||||
|
|
||||||
'image_preview': True,
|
'image_preview': True,
|
||||||
'dsa_watcher_interval': 15 * 60
|
'dsa_watcher_interval': 15 * 60
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ To be executed with nose
|
|||||||
"""
|
"""
|
||||||
import unittest
|
import unittest
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from common import buckets, rate_limit, RATE_GLOBAL
|
from common import buckets, rate_limit, RATE_GLOBAL
|
||||||
|
|
||||||
|
|
||||||
@@ -24,7 +23,6 @@ Bucket = namedtuple("BucketConfig", ["history", "period", "max_hist_len"])
|
|||||||
|
|
||||||
|
|
||||||
class TestRateLimiting(unittest.TestCase):
|
class TestRateLimiting(unittest.TestCase):
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
# just for assertions
|
# just for assertions
|
||||||
self.called = {
|
self.called = {
|
||||||
|
|||||||
@@ -277,5 +277,6 @@ class UrlBot(IdleBot):
|
|||||||
self.send_presence(pstatus=self.status, pshow=self.show)
|
self.send_presence(pstatus=self.status, pshow=self.show)
|
||||||
# self.reconnect(wait=True)
|
# self.reconnect(wait=True)
|
||||||
|
|
||||||
|
|
||||||
if '__main__' == __name__:
|
if '__main__' == __name__:
|
||||||
start(UrlBot, True)
|
start(UrlBot, True)
|
||||||
|
|||||||
Reference in New Issue
Block a user