Substitute <module> by module name

This commit is contained in:
Sergi Almacellas Abellana 2014-09-08 13:25:28 +02:00
parent 9f22fa346d
commit e7cd7e5867
4 changed files with 6 additions and 6 deletions

2
README
View File

@ -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

View File

@ -6,7 +6,7 @@ import re
import os
import ConfigParser
MODULE = '<module>'
MODULE = 'electronic_mail_activity'
PREFIX = 'nantic'
MODULE2PREFIX = {}

View File

@ -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

View File

@ -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