This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit a1536d198880f8d8a584010e589b4514fe97dfa1
Author: Sebb <s...@apache.org>
AuthorDate: Thu Feb 27 21:35:31 2025 +0000

    Don't test for False; drop unused statement
---
 test/itest_integration.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/test/itest_integration.py b/test/itest_integration.py
index 6be4938..e15cbfb 100644
--- a/test/itest_integration.py
+++ b/test/itest_integration.py
@@ -231,7 +231,7 @@ def test_public_stats():
         assert email['list_raw'] == '<users.ponymail.apache.org>'
         assert email['list'] == email['list_raw']
         assert email['id'] == email['mid']
-        assert email['private'] == False
+        assert not email['private']
         check_access(email, None)
     # Check we cannot see the private emails
     jzon = requests.get(
@@ -366,7 +366,6 @@ def test_mgmt_edit():
     """This test causes the source for an entry to be hidden"""
     admin_cookies = get_cookies('admin')
 
-    test_list_id = f"<{TEST_LIST2}.{TEST_DOMAIN}>"
     jzon = requests.get(
         f"{API_BASE}/stats.lua",
         params={"list": TEST_LIST2, "domain": TEST_DOMAIN, "emailsOnly": True, 
"d": 'gte=0d'}

Reply via email to