-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Democracy #350
Conversation
pifragile
commented
Sep 18, 2023
- Closes integrate democracy #347
fba1afc
to
e8e83a2
Compare
#phase is 9, registering | ||
print(client.purge_community_ceremony(cid, 1, 8)) | ||
register_participants_and_perform_meetup(client, cid, accounts) | ||
cindex = 9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's brittle. we should not assume the same order of tests forever.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is exactly why i have been saying for a long time that we need to refactor the integration tests :)
client.update_proposal_state("//Alice", 1) | ||
proposals = client.list_proposals() | ||
print(proposals) | ||
if('Approved' not in proposals): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
within the same testing time we could test 3 parallel proposals to increase test coverage:
- 2x Aye, 1x Nay
- 1x Aye, 2x Nay
- no votes
Moreover, it would be nice to test enactment too, not just approval
(pardon, I know you haven't asked for the review just yet ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure! now in the light of very limited time remaining from my side, where to put the focus? this, or the remaining tasks for the accounting dashboard?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated tracking issue accordningly
encointer/pallets#347
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Leftovers can be resolved later