python-zulip-api icon indicating copy to clipboard operation
python-zulip-api copied to clipboard

test-bots.py outside of zulip_bots

Open tdupu opened this issue 5 years ago • 4 comments

If someone just wants to develop bots for zulip not install zulip from source then the testing software test-bots.py in "tools" in not available. It is advertised in the (beta) documentation that one actually only needs to run

pip3 install zulip_bots

and everything will be available. This is not the case for test-bots.py

See the documentation here for the API information https://zulipchat.com/api/running-bots and here for the testing information https://zulipchat.com/api/writing-bots#testing-a-bots-output

The quick fix seems to be to move test-bots.py to the zulip_bots folder so it gets installed when zulip_bots is installed.

tdupu avatar Jul 22 '20 03:07 tdupu

Thanks for the report! I agree.

@eeshangarg do you have time to try moving this?

timabbott avatar Jul 24 '20 20:07 timabbott

The coveragerc file needs to move too.

tdupu avatar Jul 24 '20 23:07 tdupu

There are a couple more things I found in the API. I will try and post issues.

tdupu avatar Jul 24 '20 23:07 tdupu

seems like this file does not exist anymore and documentation does not mention how can we test bots now.

WBurzynski avatar Dec 08 '23 12:12 WBurzynski