zulip-terminal icon indicating copy to clipboard operation
zulip-terminal copied to clipboard

Add/modify specific test(s) to expect a Divider may be in the stream list

Open neiljp opened this issue 6 years ago • 15 comments

After adding pinned-messages separated by a urwid.Divider(), a few bugs appeared; the Divider is masquerading as a StreamButton, but that should be taken into account, and ideally the tests should have failed when I added the Divider. Based on that, we need more/modified tests for this.

neiljp avatar Dec 15 '18 18:12 neiljp

This would be a good issue if you either know tests/pytest, or want to learn it - we would prefer code to have tests in PRs if possible, so this issue starts from the other side and would likely involve just test additions/changes.

neiljp avatar Feb 09 '19 23:02 neiljp

@zulipbot claim

devkant avatar Jul 27 '19 12:07 devkant

Welcome to Zulip, @devkant! We just sent you an invite to collaborate on this repository at https://github.com/zulip/zulip-terminal/invitations. Please accept this invite in order to claim this issue and begin a fun, rewarding experience contributing to Zulip!

Here's some tips to get you off to a good start:

As you work on this issue, you'll also want to refer to the Zulip code contribution guide, as well as the rest of the developer documentation on that site.

See you on the other side (that is, the pull request side)!

zulipbot avatar Jul 27 '19 12:07 zulipbot

@neiljp I am learning pytest. Do I need to recreate the traceback ?

devkant avatar Aug 03 '19 13:08 devkant

@devkant I would suggest reading existing tests which examine/use the stream list.

It was some time ago, but I believe my intent with this issue was to explore why adding the Divider initially just appeared to work, but later bugs showed up since of course it was not actually a StreamButton and did not have all the same attributes. So, this could be about ensuring that the Divider (as well as other elements) have the expected properties, ie. at least for Divider the faked stream_name and stream_id attributes in view.py, in tests which expect to use those attributes on the elements.

neiljp avatar Aug 04 '19 17:08 neiljp

Hello @devkant, you have been unassigned from this issue because you have not updated this issue or any referenced pull requests for over 14 days.

You can reclaim this issue or claim any other issue by commenting @zulipbot claim on that issue.

Thanks for your contributions, and hope to see you again soon!

zulipbot avatar Aug 28 '19 19:08 zulipbot

@zulipbot I am still working on it

devkant avatar Aug 29 '19 19:08 devkant

@zulipbot claim

devkant avatar Sep 06 '19 10:09 devkant

Hello @devkant, you have been unassigned from this issue because you have not updated this issue or any referenced pull requests for over 14 days.

You can reclaim this issue or claim any other issue by commenting @zulipbot claim on that issue.

Thanks for your contributions, and hope to see you again soon!

zulipbot avatar Sep 16 '19 13:09 zulipbot

@zulipbot claim

devkant avatar Nov 10 '19 11:11 devkant

Hello @devkant, you have been unassigned from this issue because you have not updated this issue or any referenced pull requests for over 14 days.

You can reclaim this issue or claim any other issue by commenting @zulipbot claim on that issue.

Thanks for your contributions, and hope to see you again soon!

zulipbot avatar Nov 23 '19 13:11 zulipbot

Hello @devkant, you have been unassigned from this issue because you have not updated this issue or any referenced pull requests for over 14 days.

You can reclaim this issue or claim any other issue by commenting @zulipbot claim on that issue.

Thanks for your contributions, and hope to see you again soon!

zulipbot avatar Dec 11 '19 07:12 zulipbot

Hi, @neiljp is this a still prevalent issue. Can I work on this

parthi-siva avatar Jan 18 '22 05:01 parthi-siva

@zulipbot claim

kaxada avatar Apr 04 '22 19:04 kaxada

i wish to join this issue

iihimanshuu avatar Mar 05 '25 17:03 iihimanshuu