Skip to content

Commit 3f49fb6

Browse files
committed
linters
1 parent a9c3e6b commit 3f49fb6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

aind-sharepoint-service-server/src/aind_sharepoint_service_server/main.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from fastapi_cache import FastAPICache
1212
from fastapi_cache.backends.inmemory import InMemoryBackend
1313
from fastapi_cache.backends.redis import RedisBackend
14-
from starlette.routing import Mount
1514

1615
# from redis import asyncio as aioredis # noqa
1716
from redis.asyncio import from_url # noqa

aind-sharepoint-service-server/tests/test_main.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,18 @@ def test_app_with_in_memory_cache(self, client: TestClient):
1313
"""Tests client is instantiated correctly when redis_url None."""
1414
response = client.get("/healthcheck")
1515
assert 200 == response.status_code
16-
16+
1717
def test_app_with_redis(self, client_with_redis: TestClient):
1818
"""Tests client is instantiated correctly when redis_url set."""
1919
response = client_with_redis.get("/healthcheck")
2020
assert 200 == response.status_code
21-
21+
2222
def test_operation_ids_are_set(self, client: TestClient):
2323
"""Test that operation_id is set to route name for all APIRoutes."""
2424
api_routes = [r for r in router.routes if isinstance(r, APIRoute)]
2525
assert len(api_routes) > 0
2626
assert all(r.operation_id == r.name for r in api_routes)
2727

28+
2829
if __name__ == "__main__":
2930
pytest.main([__file__])

0 commit comments

Comments
 (0)