mirror of
https://github.com/bringout/oca-project.git
synced 2026-04-19 04:22:05 +02:00
Move 124 sale modules to oca-sale, create oca-project with 56 project modules from oca-workflow-process
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
9eb7ae5807
commit
6094c218b2
2332 changed files with 125826 additions and 0 deletions
|
|
@ -0,0 +1,22 @@
|
|||
# Copyright 2017 - 2018 Modoolar <info@modoolar.com>
|
||||
# License LGPLv3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html).
|
||||
|
||||
from .test_common import HttpTestCommon
|
||||
|
||||
|
||||
class TestController(HttpTestCommon):
|
||||
def test_01_project_browse(self):
|
||||
self.authenticate("admin", "admin")
|
||||
response = self.url_open("/projects/" + self.project_1.key)
|
||||
self.assertEqual(response.status_code, 200)
|
||||
self.assertTrue(
|
||||
response.url.endswith(self.get_project_url(self.project_1)), response.url
|
||||
)
|
||||
|
||||
def test_02_task_browse(self):
|
||||
self.authenticate("admin", "admin")
|
||||
response = self.url_open("/tasks/" + self.task11.key)
|
||||
self.assertEqual(response.status_code, 200)
|
||||
self.assertTrue(
|
||||
response.url.endswith(self.get_task_url(self.task11)), response.url
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue