test: remove obsolete nonexistence checks
This commit is contained in:
1 parent
c08172a641
commit
3495281282
24 files changed
+8
-407
No files matched your search
@@ -13,12 +13,3 @@ def test_gateway_restart_mode_accepts_camel_alias():
|
||||
def test_gateway_restart_mode_rejects_unknown_value():
|
||||
with pytest.raises(ValueError):
|
||||
GatewayConfig(restart_mode="service")
|
||||
|
||||
|
||||
def test_heartbeat_ignores_removed_retention_limit():
|
||||
config = Config.model_validate(
|
||||
{"gateway": {"heartbeat": {"keepRecentMessages": 8}}}
|
||||
)
|
||||
|
||||
heartbeat = config.model_dump(by_alias=True)["gateway"]["heartbeat"]
|
||||
assert "keepRecentMessages" not in heartbeat
|
||||
Reference in new issue
Block a user