-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Definition routes/services unit tests #857
Conversation
907747f
to
8b42f4e
Compare
app/tests/services/definitions/credential_definition/test_create_cred_def.py
Fixed
Show fixed
Hide fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pylintpython3 (reported by Codacy) found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
app/tests/services/definitions/schemas/test_get_schemas_by_id.py
Dismissed
Show dismissed
Hide dismissed
app/tests/services/definitions/schema_publisher/test_schema_publisher.py
Dismissed
Show dismissed
Hide dismissed
app/tests/services/definitions/schema_publisher/test_schema_publisher.py
Dismissed
Show dismissed
Hide dismissed
app/tests/services/definitions/schema_publisher/test_schema_publisher.py
Dismissed
Show dismissed
Hide dismissed
|
||
|
||
@pytest.fixture | ||
def publisher(mock_controller, mock_logger): |
Check notice
Code scanning / Pylintpython3 (reported by Codacy)
Redefining name 'mock_controller' from outer scope (line 18) Note test
from unittest.mock import AsyncMock, patch | ||
|
||
import pytest | ||
from aries_cloudcontroller import ( |
Check notice
Code scanning / Pylintpython3 (reported by Codacy)
Unused ModelSchema imported from aries_cloudcontroller Note test
from unittest.mock import AsyncMock, patch | ||
|
||
import pytest | ||
from aries_cloudcontroller import ( |
Check notice
Code scanning / Pylintpython3 (reported by Codacy)
Unused TxnOrSchemaSendResult imported from aries_cloudcontroller Note test
from unittest.mock import AsyncMock, patch | ||
|
||
import pytest | ||
from aries_cloudcontroller import ( |
Check notice
Code scanning / Pylintpython3 (reported by Codacy)
Unused SchemaSendResult imported from aries_cloudcontroller Note test
app/tests/services/definitions/schema_publisher/test_schema_publisher.py
Dismissed
Show dismissed
Hide dismissed
app/tests/services/definitions/schema_publisher/test_schema_publisher.py
Dismissed
Show dismissed
Hide dismissed
@@ -0,0 +1,95 @@ | |||
from unittest.mock import AsyncMock, patch |
Check warning
Code scanning / Pylintpython3 (reported by Codacy)
Django was not configured. For more information run pylint --load-plugins=pylint_django --help-msg=django-not-configured Warning test
@@ -0,0 +1,128 @@ | |||
from unittest.mock import AsyncMock, patch |
Check warning
Code scanning / Pylintpython3 (reported by Codacy)
Django was not configured. For more information run pylint --load-plugins=pylint_django --help-msg=django-not-configured Warning test
K8s Regression Test Coverage
|
K8s Test Coverage
|
K8s Regression Test Coverage
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
100% coverage! Great stuff, well done 👏
Quality Gate passedIssues Measures |
K8s Test Coverage
|
K8s Regression Test Coverage
|
adding tests: