Remove old API migrations #4168
226 errors, 369 pass in 18s
Annotations
Check failure on line 0 in tests_ma.test_api.dependencies.test_database
github-actions / Unit Test Results
test_get_container_proxy (tests_ma.test_api.dependencies.test_database) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
Check failure on line 0 in tests_ma.test_api.test_errors.test_422_error
github-actions / Unit Test Results
test_frw_validation_error_format (tests_ma.test_api.test_errors.test_422_error) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
Check failure on line 0 in tests_ma.test_api.test_errors.test_error
github-actions / Unit Test Results
test_frw_validation_error_format (tests_ma.test_api.test_errors.test_error) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
Check failure on line 0 in tests_ma.test_api.test_helpers
github-actions / Unit Test Results
test_get_repository_raises_http_exception_when_unable_to_access_database (tests_ma.test_api.test_helpers) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_get_all_airlock_requests_by_workspace_returns_200 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_post_airlock_request_creates_airlock_request_returns_201 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_post_airlock_request_input_is_malformed_returns_400 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_post_airlock_request_with_non_deployed_workspace_id_returns_404 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_post_airlock_request_with_state_store_endpoint_not_responding_returns_503 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_post_airlock_request_with_event_grid_not_responding_returns_503 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_post_airlock_request_with_airlock_disabled_returns_405 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_post_airlock_request_with_enable_airlock_property_missing_returns_201 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_get_airlock_request_returns_200 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_get_airlock_request_no_airlock_request_found_returns_404 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_get_airlock_request_state_store_endpoint_not_responding_returns_503 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_post_submit_airlock_request_submits_airlock_request_returns_200 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_post_submit_airlock_request_if_request_not_found_returns_404 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_post_submit_airlock_request_with_state_store_endpoint_not_responding_returns_503 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_post_submit_airlock_request_with_event_grid_not_responding_returns_503 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_post_submit_airlock_request_with_illegal_status_change_returns_400 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_post_cancel_airlock_request_cancels_request_returns_200 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_post_cancel_airlock_request_if_request_not_found_returns_404 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_get_airlock_container_link_no_airlock_request_found_returns_404 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_get_airlock_container_link_no_workspace_request_found_returns_404 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError
github-actions / Unit Test Results
test_get_airlock_container_link_in_progress_request_returns_400 (tests_ma.test_api.test_routes.test_airlock.TestAirlockRoutesThatRequireOwnerOrResearcherRights) with error
artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
failed on setup with "ModuleNotFoundError: No module named 'db.migrations'"
@pytest.fixture(autouse=True, scope='module')
def no_lifespan_events():
> with patch("main.lifespan"):
tests_ma/test_api/conftest.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/mock/mock.py:1504: in __enter__
self.target = self.getter()
/usr/local/lib/python3.12/site-packages/mock/mock.py:1691: in <lambda>
getter = lambda: _importer(target)
/usr/local/lib/python3.12/site-packages/mock/mock.py:1330: in _importer
thing = __import__(import_path)
main.py:14: in <module>
from api.routes.api import router as api_router
api/routes/api.py:10: in <module>
from api.routes import health, ping, workspaces, workspace_templates, workspace_service_templates, user_resource_templates, \
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
from fastapi import APIRouter, Depends, HTTPException, status
> from db.migrations.airlock import AirlockMigration
E ModuleNotFoundError: No module named 'db.migrations'
api/routes/migrations.py:2: ModuleNotFoundError