Update test_cache_config.py
This commit is contained in:
parent
0e44a77104
commit
3faeee7631
1 changed files with 0 additions and 6 deletions
|
|
@ -76,12 +76,6 @@ def test_cache_config_extra_fields_allowed():
|
||||||
assert config.another_field == 123
|
assert config.another_field == 123
|
||||||
|
|
||||||
|
|
||||||
def test_cache_config_port_type_validation():
|
|
||||||
"""Test that cache_port validates integer type."""
|
|
||||||
with pytest.raises(Exception):
|
|
||||||
CacheConfig(cache_port="not_a_number")
|
|
||||||
|
|
||||||
|
|
||||||
def test_cache_config_boolean_type_validation():
|
def test_cache_config_boolean_type_validation():
|
||||||
"""Test that boolean fields accept various truthy/falsy values."""
|
"""Test that boolean fields accept various truthy/falsy values."""
|
||||||
config1 = CacheConfig(caching="true", shared_kuzu_lock="yes")
|
config1 = CacheConfig(caching="true", shared_kuzu_lock="yes")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue