Github user mxmrlv commented on a diff in the pull request: https://github.com/apache/incubator-ariatosca/pull/31#discussion_r90779796 --- Diff: tests/mock/context.py --- @@ -13,21 +13,59 @@ # See the License for the specific language governing permissions and # limitations under the License. +import pytest + + from aria import application_model_storage from aria.orchestrator import context +from aria.storage.sql_mapi import SQLAlchemyModelAPI + +from tests.storage import get_sqlite_api_params from . import models -from ..storage import InMemoryModelDriver +@pytest.fixture def simple(**kwargs): - storage = application_model_storage(InMemoryModelDriver()) - storage.setup() - storage.blueprint.store(models.get_blueprint()) - storage.deployment.store(models.get_deployment()) + api_params = get_sqlite_api_params() + model_storage = application_model_storage(SQLAlchemyModelAPI, api_params=api_params) --- End diff -- api_kwargs
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---