From d2ca33eefd993e11f19e9277fdaf6e9024d5631c Mon Sep 17 00:00:00 2001
From: Julien Muchembled <jm@nexedi.com>
Date: Wed, 12 Jan 2011 18:54:36 +0000
Subject: [PATCH] Rename test files that contain no test, to exclude from the
 test suite

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42283 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../TestTemplateItem/{testEGovMixin.py => TestEGovMixin.py}     | 0
 bt5/erp5_egov/bt/revision                                       | 2 +-
 bt5/erp5_egov/bt/template_test_id_list                          | 2 +-
 .../testInvoiceVAT.py => ERP5Legacy/tests/_testInvoiceVAT.py}   | 2 +-
 .../tests/{testFormPrintout.py => TestFormPrintoutMixin.py}     | 0
 product/ERP5OOo/tests/testFormPrintoutAsODG.py                  | 2 +-
 product/ERP5OOo/tests/testFormPrintoutAsODT.py                  | 2 +-
 7 files changed, 5 insertions(+), 5 deletions(-)
 rename bt5/erp5_egov/TestTemplateItem/{testEGovMixin.py => TestEGovMixin.py} (100%)
 rename product/{ERP5/tests/testInvoiceVAT.py => ERP5Legacy/tests/_testInvoiceVAT.py} (99%)
 rename product/ERP5OOo/tests/{testFormPrintout.py => TestFormPrintoutMixin.py} (100%)

diff --git a/bt5/erp5_egov/TestTemplateItem/testEGovMixin.py b/bt5/erp5_egov/TestTemplateItem/TestEGovMixin.py
similarity index 100%
rename from bt5/erp5_egov/TestTemplateItem/testEGovMixin.py
rename to bt5/erp5_egov/TestTemplateItem/TestEGovMixin.py
diff --git a/bt5/erp5_egov/bt/revision b/bt5/erp5_egov/bt/revision
index 64a0b71f19..8c28da60d7 100644
--- a/bt5/erp5_egov/bt/revision
+++ b/bt5/erp5_egov/bt/revision
@@ -1 +1 @@
-746
\ No newline at end of file
+747
\ No newline at end of file
diff --git a/bt5/erp5_egov/bt/template_test_id_list b/bt5/erp5_egov/bt/template_test_id_list
index 0693ab5845..ea29f506df 100644
--- a/bt5/erp5_egov/bt/template_test_id_list
+++ b/bt5/erp5_egov/bt/template_test_id_list
@@ -1 +1 @@
-testEGovMixin
\ No newline at end of file
+TestEGovMixin
\ No newline at end of file
diff --git a/product/ERP5/tests/testInvoiceVAT.py b/product/ERP5Legacy/tests/_testInvoiceVAT.py
similarity index 99%
rename from product/ERP5/tests/testInvoiceVAT.py
rename to product/ERP5Legacy/tests/_testInvoiceVAT.py
index 047f95bb32..30cb657f8e 100644
--- a/product/ERP5/tests/testInvoiceVAT.py
+++ b/product/ERP5Legacy/tests/_testInvoiceVAT.py
@@ -509,6 +509,6 @@ class TestInvoiceVAT(ERP5TypeTestCase):
 
 def test_suite():
   suite = unittest.TestSuite()
-  #suite.addTest(unittest.makeSuite(TestInvoiceVAT))
+  suite.addTest(unittest.makeSuite(TestInvoiceVAT))
   return suite
 
diff --git a/product/ERP5OOo/tests/testFormPrintout.py b/product/ERP5OOo/tests/TestFormPrintoutMixin.py
similarity index 100%
rename from product/ERP5OOo/tests/testFormPrintout.py
rename to product/ERP5OOo/tests/TestFormPrintoutMixin.py
diff --git a/product/ERP5OOo/tests/testFormPrintoutAsODG.py b/product/ERP5OOo/tests/testFormPrintoutAsODG.py
index d42a39dc18..4a982f01dd 100644
--- a/product/ERP5OOo/tests/testFormPrintoutAsODG.py
+++ b/product/ERP5OOo/tests/testFormPrintoutAsODG.py
@@ -30,7 +30,7 @@
 import unittest
 import transaction
 from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
-from Products.ERP5OOo.tests.testFormPrintout import TestFormPrintoutMixin
+from Products.ERP5OOo.tests.TestFormPrintoutMixin import TestFormPrintoutMixin
 from Products.ERP5OOo.OOoUtils import OOoBuilder
 from Products.ERP5OOo.tests.utils import Validator
 from Products.ERP5Type.tests.utils import FileUpload
diff --git a/product/ERP5OOo/tests/testFormPrintoutAsODT.py b/product/ERP5OOo/tests/testFormPrintoutAsODT.py
index f3fb50c5b7..6043a5c4c3 100644
--- a/product/ERP5OOo/tests/testFormPrintoutAsODT.py
+++ b/product/ERP5OOo/tests/testFormPrintoutAsODT.py
@@ -33,7 +33,7 @@ import unittest
 import transaction
 from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
 from Products.ERP5Type.tests.backportUnittest import skip
-from Products.ERP5OOo.tests.testFormPrintout import TestFormPrintoutMixin
+from Products.ERP5OOo.tests.TestFormPrintoutMixin import TestFormPrintoutMixin
 from Products.ERP5Type.tests.utils import createZODBPythonScript
 from Products.MimetypesRegistry.mime_types.magic import guessMime
 from Products.ERP5OOo.OOoUtils import OOoBuilder
-- 
2.30.9