Format + lint

This commit is contained in:
jkingsman
2026-03-26 17:59:59 -07:00
parent 1405df6039
commit 79d5e69ee0
6 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -23,12 +23,12 @@ from app.fanout.community_mqtt import (
_generate_jwt_token,
_get_client_version,
)
from app.keystore import ed25519_sign_expanded
from app.fanout.mqtt_community import (
_config_to_settings,
_publish_community_packet,
_render_packet_topic,
)
from app.keystore import ed25519_sign_expanded
def _make_test_keys() -> tuple[bytes, bytes]:
+1 -1
View File
@@ -707,6 +707,7 @@ class TestSqsValidation:
{"queue_url": "https://sqs.us-east-1.amazonaws.com/123456789012/mesh-events"}
)
class TestMapUploadValidation:
def test_rejects_bad_api_url_scheme(self):
from fastapi import HTTPException
@@ -798,7 +799,6 @@ class TestMapUploadValidation:
scope = _enforce_scope("map_upload", {"messages": "all", "raw_packets": "none"})
assert scope == {"messages": "none", "raw_packets": "all"}
def test_enforce_scope_sqs_preserves_raw_packets_setting(self):
from app.routers.fanout import _enforce_scope
-1
View File
@@ -1887,4 +1887,3 @@ class TestMapUploadIntegration:
mock_msg.assert_not_called()
await manager.stop_all()