You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by gs...@apache.org on 2025/09/23 00:31:18 UTC
(steve) 04/05: Update the coverage test for the new schema and API.
This is an automated email from the ASF dual-hosted git repository.
gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git
commit 963f1318deeb6c75cabb1b305b12cd4b21d3fbad
Author: Greg Stein <gs...@gmail.com>
AuthorDate: Mon Sep 22 19:21:54 2025 -0500
Update the coverage test for the new schema and API.
* use add_voter() to fill in the "mayvote" table.
---
v3/test/check_coverage.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/v3/test/check_coverage.py b/v3/test/check_coverage.py
index 3d50b86..042b2bc 100755
--- a/v3/test/check_coverage.py
+++ b/v3/test/check_coverage.py
@@ -92,6 +92,11 @@ def touch_every_line():
e.delete_issue(i3)
_ = e.get_issue(i1)
+ # Alice and Bob can vote on all issues. Carlos only on i1.
+ e.add_voter('alice')
+ e.add_voter('bob')
+ e.add_voter('carlos', i1)
+
e.open()
_ = e.get_metadata() # while OPEN
e.add_vote('alice', i1, 'y')