feat: Se crea proyecto inicial
This commit is contained in:
0
tests/__init__.py
Normal file
0
tests/__init__.py
Normal file
12
tests/scenario_api_pos.rst
Normal file
12
tests/scenario_api_pos.rst
Normal file
@@ -0,0 +1,12 @@
|
||||
================
|
||||
Api Pos Scenario
|
||||
================
|
||||
|
||||
Imports::
|
||||
|
||||
>>> from proteus import Model, Wizard
|
||||
>>> from trytond.tests.tools import activate_modules
|
||||
|
||||
Activate modules::
|
||||
|
||||
>>> config = activate_modules('api_pos')
|
||||
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 ApiPosTestCase(ModuleTestCase):
|
||||
"Test Api Pos module"
|
||||
module = 'api_pos'
|
||||
|
||||
|
||||
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