diff --git a/releasenotes/notes/enable-mocks-a156e7cc1b1d5066.yaml b/releasenotes/notes/enable-mocks-a156e7cc1b1d5066.yaml index 9ff9de242..76af244dd 100644 --- a/releasenotes/notes/enable-mocks-a156e7cc1b1d5066.yaml +++ b/releasenotes/notes/enable-mocks-a156e7cc1b1d5066.yaml @@ -1,24 +1,8 @@ --- features: - Enable mocks in MuranoPL tests cases. - Those test cases are run with murano-test-tunner. - To enable mocks use the one of the *inject* YAQL functions - * `def inject(target, target_method, mock_object, mock_name)` - * `def inject(target, target_method, yaql_expr)` - - Description - ----------- - - * *target* MuranoPL class name (namespaces can be used or full class name - in quotes) or MuranoPL object - - * *target_method* Method name to mock in target - - * *mock_object* Object, where mock definition is contained - - * *mock_name* Name of method, where mock definition is contained - - * *yaql_expr* YAQL expression, parameters are allowed - For more information, please follow the corresponding article in the - Murano developing applications guide. + - Added :command:`murano-test-tunner` command to run murano package tests. + - Introduced two YAQL *inject* functions to enable + mocks ``def inject(target, target_method, mock_object, mock_name)`` + and ``def inject(target, target_method, yaql_expr)``. diff --git a/releasenotes/source/index.rst b/releasenotes/source/index.rst index 4c2c35430..d48d4f1ab 100644 --- a/releasenotes/source/index.rst +++ b/releasenotes/source/index.rst @@ -3,7 +3,7 @@ ====================== .. toctree:: - :maxdepth: 1 + :maxdepth: 2 liberty unreleased