bots: Make run.py independent from current working path.
This commit is contained in:
parent
12e81fd024
commit
e59b9ed897
|
@ -45,7 +45,7 @@ class TestDefineBot(TestCase):
|
||||||
def test_define(self):
|
def test_define(self):
|
||||||
# type: None -> None
|
# type: None -> None
|
||||||
# Edit bot_module to test different bots, the below code can be looped for all the bots.
|
# Edit bot_module to test different bots, the below code can be looped for all the bots.
|
||||||
bot_module = "./bots/define/define.py"
|
bot_module = os.path.join(our_dir, "define.py")
|
||||||
messages = self.request_messages()
|
messages = self.request_messages()
|
||||||
bot_response = self.bot_response_messages()
|
bot_response = self.bot_response_messages()
|
||||||
test_case = BotTestCase()
|
test_case = BotTestCase()
|
||||||
|
|
Loading…
Reference in a new issue