From bee0991528b29c8098e400c3a73895eb73b5dee4 Mon Sep 17 00:00:00 2001 From: Yannick Tivisse Date: Mon, 4 Nov 2019 16:47:29 +0100 Subject: [IMP] test_mail: Adapt tests to work with/without demo data --- addons/test_mail/data/demo.xml | 30 ---------------------------- addons/test_mail/data/subtype_data.xml | 35 +++++++++++++++++++++++++++++++++ addons/test_mail/data/subtype_demo.xml | 35 --------------------------------- addons/test_mail/data/template_data.xml | 24 ++++++++++++++++++++++ addons/test_mail/data/template_demo.xml | 24 ---------------------- 5 files changed, 59 insertions(+), 89 deletions(-) delete mode 100644 addons/test_mail/data/demo.xml create mode 100644 addons/test_mail/data/subtype_data.xml delete mode 100644 addons/test_mail/data/subtype_demo.xml create mode 100644 addons/test_mail/data/template_data.xml delete mode 100644 addons/test_mail/data/template_demo.xml (limited to 'addons/test_mail/data') diff --git a/addons/test_mail/data/demo.xml b/addons/test_mail/data/demo.xml deleted file mode 100644 index 552d20d439d..00000000000 --- a/addons/test_mail/data/demo.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - Object 0 - 0 - - - - Object 1 - 10 - - - - Object 2 - 20 - - - - Object 3 - 30 - - - - Object 4 - 40 - - - - diff --git a/addons/test_mail/data/subtype_data.xml b/addons/test_mail/data/subtype_data.xml new file mode 100644 index 00000000000..076f4cbbf9b --- /dev/null +++ b/addons/test_mail/data/subtype_data.xml @@ -0,0 +1,35 @@ + + + + + External subtype + External subtype + mail.test.simple + + + + + + Umbrella Changed Subtype + Umbrella Changed + mail.test.full + + + + + + Umbrella Default Subtype + mail.test + + + + + + Umbrella Child Full Subtype + mail.test + + umbrella_id + + + + diff --git a/addons/test_mail/data/subtype_demo.xml b/addons/test_mail/data/subtype_demo.xml deleted file mode 100644 index 076f4cbbf9b..00000000000 --- a/addons/test_mail/data/subtype_demo.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - External subtype - External subtype - mail.test.simple - - - - - - Umbrella Changed Subtype - Umbrella Changed - mail.test.full - - - - - - Umbrella Default Subtype - mail.test - - - - - - Umbrella Child Full Subtype - mail.test - - umbrella_id - - - - diff --git a/addons/test_mail/data/template_data.xml b/addons/test_mail/data/template_data.xml new file mode 100644 index 00000000000..35bdbedd7a2 --- /dev/null +++ b/addons/test_mail/data/template_data.xml @@ -0,0 +1,24 @@ + + + + Mail Test Full: Tracking Template + Test Template + ${object.customer_id.id | safe} +

Hello ${object.name}

+ + +
+ + + Mail Test: Template + Post on ${object.name} + ${object.customer_id.id} +

Adding stuff on ${object.name}

+ + +
+ + +
diff --git a/addons/test_mail/data/template_demo.xml b/addons/test_mail/data/template_demo.xml deleted file mode 100644 index 35bdbedd7a2..00000000000 --- a/addons/test_mail/data/template_demo.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - Mail Test Full: Tracking Template - Test Template - ${object.customer_id.id | safe} -

Hello ${object.name}

- - -
- - - Mail Test: Template - Post on ${object.name} - ${object.customer_id.id} -

Adding stuff on ${object.name}

- - -
- - -
-- cgit v1.2.3