Commit Graph

5 Commits

Author SHA1 Message Date
zhurong 4985bfa010 Switch test runner to django default runner
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/
2018-10-09 02:22:08 +00:00
zhurong 9be17de566 Fix some pep8 errors
./muranodashboard/tests/test_fields.py:41:40:
E241 multiple spaces after ','
./muranodashboard/tests/test_fields.py:57:40:
E241 multiple spaces after ','
./muranodashboard/tests/unit/environments/test_api.py:276:48:
E226 missing whitespace around arithmetic operator
./muranodashboard/tests/unit/dynamic_ui/test_helpers.py:51:13:
E123 closing bracket does not match indentation of opening bracket's line

Change-Id: I961a3b6c1bee641466388416c3bf7c65458fda1e
2018-09-01 00:23:02 -07:00
Samantha Blanco 870030005a Increase unit test coverage for environments, helpers, and yaql expression
Implements bp: murano-unit-test-coverage

Change-Id: If7445310d6a345e15da764e116d1f712c8967c4e
2016-11-02 09:20:40 -04:00
Valerii Kovalchuk af5ad53697 Make _generate_hostname() and int2base() work in python3
Change-Id: I371fe8791eee5f39aa228961c05f6c5c0f25f1bf
Closes-bug: #1604000
2016-07-18 18:47:31 +03:00
Valerii Kovalchuk adab734e8f Convert dynamic UI form names to string type
In case form name is in unicode in python2 or bytes in python3,
we need to convert it to str to make form creation possible.

Change-Id: I9ddf4928db9ecf0242f0503888bba56a2a0fdf56
Closes-bug: #1596177
2016-07-01 11:26:25 +03:00