From e7cd7e58670cf6a668cf57637392bd5a4baf75f7 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Mon, 8 Sep 2014 13:25:28 +0200 Subject: [PATCH] Substitute by module name --- README | 2 +- setup.py | 2 +- tests/__init__.py | 2 +- tests/test_electronic_mail_activity.py | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README b/README index fdb5935..8b41c63 100644 --- a/README +++ b/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- +* http://bitbucket.org/nantic/trytond-electronic_mail_activity * http://groups.tryton.org/ * http://wiki.tryton.org/ * irc://irc.freenode.net/tryton diff --git a/setup.py b/setup.py index b5e460c..8ef3ecc 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ import re import os import ConfigParser -MODULE = '' +MODULE = 'electronic_mail_activity' PREFIX = 'nantic' MODULE2PREFIX = {} diff --git a/tests/__init__.py b/tests/__init__.py index 668eeb6..83bcf95 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,3 +1,3 @@ # The COPYRIGHT file at the top level of this repository contains the full # copyright notices and license terms. -from .test_ import suite +from .test_electronic_mail_activity import suite diff --git a/tests/test_electronic_mail_activity.py b/tests/test_electronic_mail_activity.py index 94811c9..5c4fa63 100644 --- a/tests/test_electronic_mail_activity.py +++ b/tests/test_electronic_mail_activity.py @@ -9,11 +9,11 @@ class TestCase(unittest.TestCase): 'Test module' def setUp(self): - trytond.tests.test_tryton.install_module('') + trytond.tests.test_tryton.install_module('electronic_mail_activity') def test0005views(self): 'Test views' - test_view('') + 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_.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