aboutsummaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-03-18 13:53:03 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-03-18 13:53:03 +0100
commit43cfe1a8a16814c561ca83a70dda02ddf844009f (patch)
tree61509aa1e2c15a331a321457a0266ab5ede6466b /test.py
parent42f828801857fab8434701a8fb68b9ec44a959ad (diff)
downloadgeldschieberbot-jsonrpc.tar.gz
geldschieberbot-jsonrpc.zip
remove old test codejsonrpc
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)