Fix outdated test config specification
Marco Ricci

Marco Ricci commited on 2025-01-21 21:02:31
Zeige 2 geänderte Dateien mit 2 Einfügungen und 2 Löschungen.


The set of "consistently testable vault configurations" is determined by
a specific settings to the validator function.  The validator function
no longer accepts the `allow_derivepassphrase_extensions` keyword
parameter, but the vault test config selection logic was not yet updated
to reflect this.
... ...
@@ -321,7 +321,7 @@ def is_valid_test_config(conf: VaultTestConfig, /) -> bool:
321 321
     """
322 322
     return not conf.comment and conf.validation_settings in {
323 323
         None,
324
-        (True, True),
324
+        (True,),
325 325
     }
326 326
 
327 327
 
... ...
@@ -73,7 +73,7 @@ def test_100_js_truthiness(value: Any) -> None:
73 73
     [
74 74
         conf
75 75
         for conf in tests.TEST_CONFIGS
76
-        if conf.validation_settings in {None, (True, True)}
76
+        if conf.validation_settings in {None, (True,)}
77 77
     ],
78 78
     ids=tests._test_config_ids,
79 79
 )
80 80