diff options
| author | Yannick Tivisse <yti@odoo.com> | 2017-06-06 11:04:31 +0200 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2017-08-07 11:24:56 +0200 |
| commit | cdd5f470dd00a71893d9f3d9cce5cd894a54095d (patch) | |
| tree | f3a51c15acf299aebab5de4deb0a5f3175d4b4fd /addons/project_issue/tests/test_subscribe_issue.py | |
| parent | 088b9b2a2a4e4a86fc9338e105adf0f27e520d04 (diff) | |
[REM] project_issue: Remove module, merge into project.task
Diffstat (limited to 'addons/project_issue/tests/test_subscribe_issue.py')
| -rw-r--r-- | addons/project_issue/tests/test_subscribe_issue.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/addons/project_issue/tests/test_subscribe_issue.py b/addons/project_issue/tests/test_subscribe_issue.py deleted file mode 100644 index 2577033bbf0..00000000000 --- a/addons/project_issue/tests/test_subscribe_issue.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- - -from odoo.addons.project_issue.tests.common import TestIssueUsers -from odoo.modules import module - - -class TestSubscribeIssue(TestIssueUsers): - - def test_subscribe_issues(self): - # In Order to test process of Issue in Odoo, Customer send the issue by email. - request_file = open(module.get_module_resource('project_issue', 'tests', 'issue.eml'), 'rb') - request_message = request_file.read() - self.env["mail.thread"].message_process('project.issue', request_message) - - # After getting the mail, Check details of new issue of that customer. - issue = self.ProjectIssue.search([('email_from', '=', 'Robert Adersen <Robert_Adersen@yahoo.com>')], limit=1) - self.assertEquals(len(issue), 1, "Issue is not created after getting request") - self.assertFalse(issue.partner_id, "Customer should be a new") - self.assertEquals(issue.name, "Error in the account module", "Subject does not match") |
