Commit Graph

15 Commits

Author SHA1 Message Date
zhurong 3cb13c6c26 Fix py27 UT gate
1.Fix TypeError: 'Mock' object is not iterable error
2.import openstack_dashboard.test.settings

Change-Id: I9f2b640b1d58bc4f3f559458d9eed92c9594e686
2019-07-31 07:32:12 +00:00
zhurong ea2749ad12 Import openstack_dashboard defaults settings
Change-Id: Ib663053032c096f04aec814131d418719a2e53f6
2019-06-15 11:22:55 +08:00
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 90762ee10f Revert "Fix murano-dashboard gate"
Revert this commit. since this had fix in horizon in this change [0].

[0]: I23aae10a7e63494c1c9f656b47becd2f067c9058

This reverts commit 9960ceebed.

Change-Id: I44ce6b15aa4908c4e6aee59d74f796766dc05fc1
2017-07-13 02:05:22 +00:00
zhurong 9960ceebed Fix murano-dashboard gate
Change-Id: I9359b3ba8e666f52598693d1e68154d11c3189c4
2017-07-01 10:42:41 +08:00
zhurong 4670c62992 Replace the 'quantum' in test settings
Change-Id: I078bcf6882df4fce668bdcfa5b498373b713e06f
2016-09-22 17:51:56 +08:00
OlehBaran b733060fb7 Fix script for unit test coverage job
Coverage job fails because the cover directory and report
aren't generated. This commit will fix report generating
and add coverage config.

Change-Id: I73bb47ed6228349f87026556bed98dbf00062d90
2016-08-17 10:23:27 +03:00
zhurong cfeee59da8 Add and update the license header
Change-Id: Ifaa1811ce73db00a1fb263af6c7f47b85187250e
2016-08-11 14:21:29 +08:00
Kirill Zaitsev 5e168f0ee4 Use logging.NullHandler and move Django to requirements
- Adjust requirements with Django module
- Use logging.NullHandler in config
- mark 'test_filter_by_category' and 'test_check_option_switch_env' as
  expected failures, as they're not related to current failure

Co-Authored-By: Victor Ryzhenkin <vryzhenkin@mirantis.com>
Change-Id: I42c1f67f223173c78b0ff1c501bed017855873e0
Closes-Bug: #1522087
2015-12-04 14:55:39 +03:00
Ekaterina Chernova 651510a862 Fix test settings
django_nose is not requred in installed apps

Change-Id: I6056b0641a3a47fc732d5173f3f5e6a6ae6d3d6b
2015-03-31 17:42:57 +03:00
Ekaterina Chernova d9cef774ce Fix py27 test job
Tests uses settings.py for a correct execution.
Muranodashboard settings file is not supported
and used be copied from the corresponding version of horizon.

This patch prevent tests from future failing.
Horizon settings file now will be used and
no problem with requirements should arise.

Since settings.py is not used in tests anymore, it can be deleted.

Change-Id: Ibb1101c4859db678b3678456991e446784afc1d1
2015-01-15 14:30:39 +03:00
Ekaterina Fedorova 7ef4c92b1c Fix failed tests
Unit tests:
* Requirements were set as a dict, but later in the test the order was checked
* Name parameter for database was not set in test settings

Functional tests;
* Fix for bug, that fail deployment with empty workflow was merged
* Now the deployment finishes without failures

Change-Id: Icdf5a250687e38da6a7aea239952b43d97cf725d
2014-08-21 15:38:44 +04:00
Ekaterina Fedorova 97c7c806ef Move functional tests under muranodashboard/tests
This patch allows to run functional tests under devstack
Rename muranodashboard/test to muranodashboard/tests

Partly-Closes-Bug: #1349383
Change-Id: I70ac476cce9e037b8f36872dde3c1825ca6e3a04
2014-07-29 19:28:26 +04:00
Ankur Rishi 138d69f385 rename muranodashboard/tests to muranodashboard/test
Currently, the muranodashboard.test module cannot
be found, because the directory is named tests
instead of test.

Change-Id: I12a848ea964ca09300da5382882b50f0eea39830
Closes-Bug: #1303869
2014-04-23 11:20:26 -07:00
Serg Melikyan d736caac03 Add PostgreSqlChoiceField
PostgreSql application require a new control to be added
in order to support composing PostgreSql application with
other applications

Change-Id: Ifc2d2d3bf3794c4e942f176c49f798ea6c470d37
2014-03-03 08:21:57 +04:00