aboutsummaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test.py')
-rwxr-xr-xtest.py13
1 files changed, 0 insertions, 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)