Set variables to normal, remove empty test
This commit is contained in:
parent
cb2122ed3a
commit
244ff44b6d
6
bot.py
6
bot.py
|
@ -6,9 +6,9 @@ from threading import Thread
|
||||||
|
|
||||||
# Some basic variables used to configure the bot.
|
# Some basic variables used to configure the bot.
|
||||||
server = "irc.freenode.net"
|
server = "irc.freenode.net"
|
||||||
channel = "#openhatch-bots"
|
channel = "#openhatch" # Please use #openhatch-bots rather than #openhatch for testing
|
||||||
botnick = "WelcomeBot2"
|
botnick = "WelcomeBot"
|
||||||
channel_greeters = ['shauna'] #'paulproteus', 'marktraceur']
|
channel_greeters = ['shauna', 'paulproteus', 'marktraceur']
|
||||||
hello_list = [r'hello', r'hi', r'hey', r'yo', r'sup']
|
hello_list = [r'hello', r'hi', r'hey', r'yo', r'sup']
|
||||||
help_list = [r'help', r'info', r'faq', r'explain yourself']
|
help_list = [r'help', r'info', r'faq', r'explain yourself']
|
||||||
|
|
||||||
|
|
|
@ -92,9 +92,6 @@ class TestNewComerClass(unittest.TestCase):
|
||||||
time.sleep(0.01)
|
time.sleep(0.01)
|
||||||
self.assertAlmostEqual(newComer.born, time.time() - .01, places=2)
|
self.assertAlmostEqual(newComer.born, time.time() - .01, places=2)
|
||||||
|
|
||||||
def test_add_newcomer_to_bot(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def test_newcomer_around_for(self):
|
def test_newcomer_around_for(self):
|
||||||
newComer = newbot.NewComer('Shauna', newbot.Bot())
|
newComer = newbot.NewComer('Shauna', newbot.Bot())
|
||||||
time.sleep(0.01)
|
time.sleep(0.01)
|
||||||
|
|
Loading…
Reference in New Issue