Skip to content

Fix registration of templates with no required or authorizedRoles defined. #9253

Fix registration of templates with no required or authorizedRoles defined.

Fix registration of templates with no required or authorizedRoles defined. #9253

GitHub Actions / Unit Test Results failed Feb 19, 2024 in 0s

2 errors in 1s

2 tests  +2   0 ✅ ±0   1s ⏱️ -1s
1 suites +1   0 💤 ±0 
1 files   +1   0 ❌ ±0   2 🔥 +2 

Results for commit b9c1d17. ± Comparison against earlier commit b7d6d35.

Annotations

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

tests_ma.test_db.test_repositories.test_resource_templates_repository with error

artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
collection failure
ImportError while importing test module '/api/tests_ma/test_db/test_repositories/test_resource_templates_repository.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests_ma/test_db/test_repositories/test_resource_templates_repository.py:4: in <module>
    from models.domain.user_resource_template import UserResourceTemplate, WorkspaceTemplateInCreate
E   ImportError: cannot import name 'WorkspaceTemplateInCreate' from 'models.domain.user_resource_template' (/api/models/domain/user_resource_template.py)

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

tests_ma.test_db.test_repositories.test_shared_service_templates_repository with error

artifacts/test-results/pytest_api_unit.xml [took 0s]
Raw output
collection failure
ImportError while importing test module '/api/tests_ma/test_db/test_repositories/test_shared_service_templates_repository.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests_ma/test_db/test_repositories/test_shared_service_templates_repository.py:7: in <module>
    from .test_resource_templates_repository import sample_resource_template_as_dict
tests_ma/test_db/test_repositories/test_resource_templates_repository.py:4: in <module>
    from models.domain.user_resource_template import UserResourceTemplate, WorkspaceTemplateInCreate
E   ImportError: cannot import name 'WorkspaceTemplateInCreate' from 'models.domain.user_resource_template' (/api/models/domain/user_resource_template.py)

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

2 tests found

There are 2 tests, see "Raw output" for the full list of tests.
Raw output
tests_ma.test_db.test_repositories.test_resource_templates_repository
tests_ma.test_db.test_repositories.test_shared_service_templates_repository