Skip to content

Commit

Permalink
tests: resign when testing pure signing
Browse files Browse the repository at this point in the history
  • Loading branch information
flowerysong committed Oct 18, 2024
1 parent 21b8fd6 commit 04f6ee0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test_milter.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,11 @@ def test_milter_mode_s(run_miltertest):
assert res['headers'][1][0] == 'ARC-Message-Signature'
assert res['headers'][2] == ['ARC-Authentication-Results', ' i=1; example.com; arc=none smtp.remote-ip=127.0.0.1']

res = run_miltertest(res['headers'])
assert len(res['headers']) == 3
assert 'cv=pass' in res['headers'][0][1]
assert res['headers'][2] == ['ARC-Authentication-Results', ' i=2; example.com; arc=pass smtp.remote-ip=127.0.0.1']


def test_milter_mode_v(run_miltertest):
"""Verify mode"""
Expand Down

0 comments on commit 04f6ee0

Please sign in to comment.