12
12
13
13
14
14
@create_certificate (username = Username ("foobar" ), uids = [Uid ("foobar <[email protected] >" )], keyring_type = "main" )
15
- def test_certificate_trust_main_key_has_full_trust (working_dir : Path , keyring_dir : Path ):
15
+ def test_certificate_trust_main_key_has_full_trust (working_dir : Path , keyring_dir : Path ) -> None :
16
16
trust = certificate_trust (
17
17
test_keyring_certificates [Username ("foobar" )][0 ],
18
18
test_main_fingerprints ,
@@ -22,7 +22,7 @@ def test_certificate_trust_main_key_has_full_trust(working_dir: Path, keyring_di
22
22
23
23
@create_certificate (username = Username ("main" ), uids = [Uid ("main <[email protected] >" )])
24
24
@create_certificate (username = Username ("foobar" ), uids = [Uid ("foobar <[email protected] >" )])
25
- def test_certificate_trust_no_signature_is_unknown (working_dir : Path , keyring_dir : Path ):
25
+ def test_certificate_trust_no_signature_is_unknown (working_dir : Path , keyring_dir : Path ) -> None :
26
26
trust = certificate_trust (
27
27
test_keyring_certificates [Username ("foobar" )][0 ],
28
28
test_main_fingerprints ,
@@ -33,7 +33,7 @@ def test_certificate_trust_no_signature_is_unknown(working_dir: Path, keyring_di
33
33
@create_certificate (username = Username ("main" ), uids = [Uid ("main <[email protected] >" )], keyring_type = "main" )
34
34
@create_certificate (username = Username ("foobar" ), uids = [Uid ("foobar <[email protected] >" )])
35
35
@create_uid_certification (issuer = Username ("main" ), certified = Username ("foobar" ), uid = Uid ("foobar <[email protected] >" ))
36
- def test_certificate_trust_one_signature_is_marginal (working_dir : Path , keyring_dir : Path ):
36
+ def test_certificate_trust_one_signature_is_marginal (working_dir : Path , keyring_dir : Path ) -> None :
37
37
trust = certificate_trust (
38
38
test_keyring_certificates [Username ("foobar" )][0 ],
39
39
test_main_fingerprints ,
@@ -45,7 +45,7 @@ def test_certificate_trust_one_signature_is_marginal(working_dir: Path, keyring_
45
45
@create_certificate (username = Username ("not_main" ), uids = [Uid ("main <[email protected] >" )])
46
46
@create_certificate (username = Username ("foobar" ), uids = [Uid ("foobar <[email protected] >" )])
47
47
@create_uid_certification (issuer = Username ("not_main" ), certified = Username ("foobar" ), uid = Uid ("foobar <[email protected] >" ))
48
- def test_certificate_trust_one_none_main_signature_gives_no_trust (working_dir : Path , keyring_dir : Path ):
48
+ def test_certificate_trust_one_none_main_signature_gives_no_trust (working_dir : Path , keyring_dir : Path ) -> None :
49
49
trust = certificate_trust (
50
50
test_keyring_certificates [Username ("foobar" )][0 ],
51
51
test_main_fingerprints ,
@@ -60,7 +60,7 @@ def test_certificate_trust_one_none_main_signature_gives_no_trust(working_dir: P
60
60
@create_uid_certification (issuer = Username ("main1" ), certified = Username ("foobar" ), uid = Uid ("foobar <[email protected] >" ))
61
61
@create_uid_certification (issuer = Username ("main2" ), certified = Username ("foobar" ), uid = Uid ("foobar <[email protected] >" ))
62
62
@create_uid_certification (issuer = Username ("main3" ), certified = Username ("foobar" ), uid = Uid ("foobar <[email protected] >" ))
63
- def test_certificate_trust_three_main_signature_gives_full_trust (working_dir : Path , keyring_dir : Path ):
63
+ def test_certificate_trust_three_main_signature_gives_full_trust (working_dir : Path , keyring_dir : Path ) -> None :
64
64
trust = certificate_trust (
65
65
test_keyring_certificates [Username ("foobar" )][0 ],
66
66
test_main_fingerprints ,
0 commit comments