diff options
| author | David Beguin <dbe@odoo.com> | 2019-12-10 15:34:00 +0000 |
|---|---|---|
| committer | Aurélien Warnon <awa@odoo.com> | 2020-01-10 11:01:04 +0000 |
| commit | 792d71faf5dfcfd9a931a53a4f78692520d423c9 (patch) | |
| tree | 1d981eaa01ff25a3185deb0282a61e1c7e4bd138 /addons/survey/tests | |
| parent | 26147efeab9bd37679c0202950c48bdb1c8ec04a (diff) | |
[REF] survey: remove display mode for simple choice questions
This commit prepares the complete redesign of survey.
Simple choice question type will only use the radio button display mode.
So the dropdown display mode is deleted.
Task ID: 2152223
PR #41453
Diffstat (limited to 'addons/survey/tests')
| -rw-r--r-- | addons/survey/tests/test_survey_ui_certification.py | 4 | ||||
| -rw-r--r-- | addons/survey/tests/test_survey_ui_feedback.py | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/addons/survey/tests/test_survey_ui_certification.py b/addons/survey/tests/test_survey_ui_certification.py index 8beca6113e2..da8d3b74658 100644 --- a/addons/survey/tests/test_survey_ui_certification.py +++ b/addons/survey/tests/test_survey_ui_certification.py @@ -37,7 +37,6 @@ class TestUiCertification(HttpCaseWithUserDemo): 'title': 'Do we sell Acoustic Bloc Screens?', 'sequence': 2, 'question_type': 'simple_choice', - 'display_mode': 'dropdown', 'constr_mandatory': True, 'suggested_answer_ids': [ (0, 0, { @@ -116,7 +115,6 @@ class TestUiCertification(HttpCaseWithUserDemo): 'title': 'How many versions of the Corner Desk do we have?', 'sequence': 5, 'question_type': 'simple_choice', - 'display_mode': 'dropdown', 'constr_mandatory': True, 'suggested_answer_ids': [ (0, 0, { @@ -149,7 +147,6 @@ class TestUiCertification(HttpCaseWithUserDemo): 'title': 'How much do we sell our Cable Management Box?', 'sequence': 8, 'question_type': 'simple_choice', - 'display_mode': 'dropdown', 'constr_mandatory': True, 'suggested_answer_ids': [ (0, 0, { @@ -213,7 +210,6 @@ class TestUiCertification(HttpCaseWithUserDemo): 'title': 'What do you think about our prices (not rated)?', 'sequence': 10, 'question_type': 'simple_choice', - 'display_mode': 'dropdown', 'constr_mandatory': True, 'suggested_answer_ids': [ (0, 0, { diff --git a/addons/survey/tests/test_survey_ui_feedback.py b/addons/survey/tests/test_survey_ui_feedback.py index 60ab7c5b297..1778881a409 100644 --- a/addons/survey/tests/test_survey_ui_feedback.py +++ b/addons/survey/tests/test_survey_ui_feedback.py @@ -40,7 +40,6 @@ class TestUiFeedback(HttpCaseWithUserDemo): 'title': 'How frequently do you buy products online ?', 'sequence': 4, 'question_type': 'simple_choice', - 'display_mode': 'dropdown', 'comments_allowed': True, 'comment_count_as_answer': True, 'constr_mandatory': True, |
