From 43cfe1a8a16814c561ca83a70dda02ddf844009f Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 18 Mar 2020 13:53:03 +0100 Subject: remove old test code --- test.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/test.py b/test.py index 4ffea93..44ab077 100755 --- a/test.py +++ b/test.py @@ -85,19 +85,6 @@ def run_bot(test, sender, cmd): return "/n".join([result['message'] for result in response["result"]]) - # res = geldschieberbot.receive(0, sender, message=cmd, timestamp=1544101248419, groupId='test') - # msg = msg_template.substitute(sender=sender, msg=cmd).replace("\n", "\\n") + "\n" - # res = subprocess.run(["python3", "./geldschieberbot.py"], text=True, capture_output=True, - # # res = subprocess.run(["python3", "./bot.py"], text=True, capture_output=True, - # input=msg) - - # if res.returncode != 0: - # print(res) - # print(res.stderr) - # test.assertEqual(res.returncode, 0) - # test.assertEqual(res.stderr, "") - return res - def save_state(dest): copyfile(STATE_PATH, dest) -- cgit v1.2.3