firts commit
This commit is contained in:
0
tests/__init__.py
Normal file
0
tests/__init__.py
Normal file
BIN
tests/__pycache__/__init__.cpython-311.pyc
Normal file
BIN
tests/__pycache__/__init__.cpython-311.pyc
Normal file
Binary file not shown.
BIN
tests/__pycache__/test_module.cpython-311.pyc
Normal file
BIN
tests/__pycache__/test_module.cpython-311.pyc
Normal file
Binary file not shown.
BIN
tests/__pycache__/test_scenario.cpython-311.pyc
Normal file
BIN
tests/__pycache__/test_scenario.cpython-311.pyc
Normal file
Binary file not shown.
12
tests/scenario_sale_opportunity_management.rst
Normal file
12
tests/scenario_sale_opportunity_management.rst
Normal file
@@ -0,0 +1,12 @@
|
||||
====================================
|
||||
Sale Opportunity Management Scenario
|
||||
====================================
|
||||
|
||||
Imports::
|
||||
|
||||
>>> from proteus import Model, Wizard
|
||||
>>> from trytond.tests.tools import activate_modules
|
||||
|
||||
Activate modules::
|
||||
|
||||
>>> config = activate_modules('sale_opportunity_management')
|
||||
10
tests/test_module.py
Normal file
10
tests/test_module.py
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
from trytond.tests.test_tryton import ModuleTestCase
|
||||
|
||||
|
||||
class SaleOpportunityManagementTestCase(ModuleTestCase):
|
||||
"Test Sale Opportunity Management module"
|
||||
module = 'sale_opportunity_management'
|
||||
|
||||
|
||||
del ModuleTestCase
|
||||
8
tests/test_scenario.py
Normal file
8
tests/test_scenario.py
Normal file
@@ -0,0 +1,8 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.tests.test_tryton import load_doc_tests
|
||||
|
||||
|
||||
def load_tests(*args, **kwargs):
|
||||
return load_doc_tests(__name__, __file__, *args, **kwargs)
|
||||
Reference in New Issue
Block a user