Substitute <module> by module name
This commit is contained in:
parent
9f22fa346d
commit
e7cd7e5867
2
README
2
README
|
@ -20,7 +20,7 @@ questions on the NaN·tic bug tracker, mailing list,
|
|||
wiki or IRC channel:
|
||||
|
||||
* http://doc.tryton-erp.es/
|
||||
* http://bitbucket.org/nantic/trytond-<module>
|
||||
* http://bitbucket.org/nantic/trytond-electronic_mail_activity
|
||||
* http://groups.tryton.org/
|
||||
* http://wiki.tryton.org/
|
||||
* irc://irc.freenode.net/tryton
|
||||
|
|
2
setup.py
2
setup.py
|
@ -6,7 +6,7 @@ import re
|
|||
import os
|
||||
import ConfigParser
|
||||
|
||||
MODULE = '<module>'
|
||||
MODULE = 'electronic_mail_activity'
|
||||
PREFIX = 'nantic'
|
||||
MODULE2PREFIX = {}
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# The COPYRIGHT file at the top level of this repository contains the full
|
||||
# copyright notices and license terms.
|
||||
from .test_<module> import suite
|
||||
from .test_electronic_mail_activity import suite
|
||||
|
|
|
@ -9,11 +9,11 @@ class TestCase(unittest.TestCase):
|
|||
'Test module'
|
||||
|
||||
def setUp(self):
|
||||
trytond.tests.test_tryton.install_module('<module>')
|
||||
trytond.tests.test_tryton.install_module('electronic_mail_activity')
|
||||
|
||||
def test0005views(self):
|
||||
'Test views'
|
||||
test_view('<module>')
|
||||
test_view('electronic_mail_activity')
|
||||
|
||||
def test0006depends(self):
|
||||
'Test depends'
|
||||
|
@ -24,7 +24,7 @@ def suite():
|
|||
suite = trytond.tests.test_tryton.suite()
|
||||
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(TestCase))
|
||||
# TODO: remove if no scenario needed.
|
||||
#suite.addTests(doctest.DocFileSuite('scenario_<module>.rst',
|
||||
#suite.addTests(doctest.DocFileSuite('scenario_electronic_mail_activity.rst',
|
||||
# setUp=doctest_dropdb, tearDown=doctest_dropdb, encoding='utf-8',
|
||||
# optionflags=doctest.REPORT_ONLY_FIRST_FAILURE))
|
||||
return suite
|
||||
|
|
Loading…
Reference in New Issue