Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I5ad2c7a44dee2e19ab2576f206c69d94126a22b1
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Co-Authored-By: zhurong <aaronzhu1121@gmail.com>
nose is not actively maintained now and Django default test runner
seems to have enough features.
Horizon test setting no longer depends on nose and related stuffs.
This commit cleans up nose related dependencies.
The change was made in horizon Rocky-3,
so horizon 14.0.0.0b3 is required at least.
And murano-dashboard using unittest instead of testtools.
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: I419e0e166ea88c3ab1203f35ffa00928cf94acb1
Depends-On: https://review.openstack.org/599156/
Adds a new yaql function 'encryptData' which encrypts values passed from
MuranoPL UI definitions.
Requires a valid secret storage backend (e.g. Barbican) to be configured
via Castellan in _50_murano.py
Murano will still work fine without this config but the encrypt/decrypt
functions will be unavailable.
Implements blueprint: allow-encrypting-of-muranopl-properties
Depends-On: I09416b6d35ed2dafa823eca98262a4e23081e6eb
Change-Id: Ida94093425a113b67baa05a194525e3cf4e16f79
This patch restores behaviour broken by
I369f79c4258367974eb676cecb6eb1c941803503
The function now returns the pattern if supplied.
Change-Id: I6349555361ab9b12cf2cbd54d130c1979185dd18
Closes-Bug: #1588405