diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-03-18 13:53:03 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-03-18 13:53:03 +0100 |
| commit | 43cfe1a8a16814c561ca83a70dda02ddf844009f (patch) | |
| tree | 61509aa1e2c15a331a321457a0266ab5ede6466b | |
| parent | 42f828801857fab8434701a8fb68b9ec44a959ad (diff) | |
| download | geldschieberbot-jsonrpc.tar.gz geldschieberbot-jsonrpc.zip | |
remove old test codejsonrpc
| -rwxr-xr-x | test.py | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -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) |
