All unit test modules have a test_ prefix

Both for consistency and for test discovery.
This commit is contained in:
Daniele Varrazzo 2011-10-19 02:20:43 +01:00
parent 3e39b23835
commit d79661c87f
7 changed files with 15 additions and 15 deletions

View File

@ -117,13 +117,13 @@
<None Include="ZPsycopgDA\__init__.py" />
<None Include="ZPsycopgDA\pool.py" />
<None Include="tests\dbapi20.py" />
<None Include="tests\extras_dictcursor.py" />
<None Include="tests\test_extras_dictcursor.py" />
<None Include="tests\__init__.py" />
<None Include="tests\test_psycopg2_dbapi20.py" />
<None Include="tests\test_transaction.py" />
<None Include="tests\types_basic.py" />
<None Include="tests\bugX000.py" />
<None Include="tests\types_extras.py" />
<None Include="tests\test_types_basic.py" />
<None Include="tests\test_bugX000.py" />
<None Include="tests\test_types_extras.py" />
<None Include="tests\test_connection.py" />
<None Include="tests\test_dates.py" />
<None Include="tests\test_lobject.py" />
@ -166,7 +166,7 @@
<None Include="doc\src\faq.rst" />
<None Include="tests\test_async.py" />
<None Include="tests\test_copy.py" />
<None Include="tests\bug_gc.py" />
<None Include="tests\test_bug_gc.py" />
<None Include="tests\test_green.py" />
<None Include="tests\test_notify.py" />
<None Include="scripts\make_errorcodes.py" />

View File

@ -27,17 +27,17 @@ import sys
from testconfig import dsn
from testutils import unittest
import bug_gc
import bugX000
import extras_dictcursor
import test_bug_gc
import test_bugX000
import test_extras_dictcursor
import test_dates
import test_psycopg2_dbapi20
import test_quote
import test_connection
import test_cursor
import test_transaction
import types_basic
import types_extras
import test_types_basic
import test_types_extras
import test_lobject
import test_copy
import test_notify
@ -58,17 +58,17 @@ def test_suite():
cnn.close()
suite = unittest.TestSuite()
suite.addTest(bug_gc.test_suite())
suite.addTest(bugX000.test_suite())
suite.addTest(extras_dictcursor.test_suite())
suite.addTest(test_bug_gc.test_suite())
suite.addTest(test_bugX000.test_suite())
suite.addTest(test_extras_dictcursor.test_suite())
suite.addTest(test_dates.test_suite())
suite.addTest(test_psycopg2_dbapi20.test_suite())
suite.addTest(test_quote.test_suite())
suite.addTest(test_connection.test_suite())
suite.addTest(test_cursor.test_suite())
suite.addTest(test_transaction.test_suite())
suite.addTest(types_basic.test_suite())
suite.addTest(types_extras.test_suite())
suite.addTest(test_types_basic.test_suite())
suite.addTest(test_types_extras.test_suite())
suite.addTest(test_lobject.test_suite())
suite.addTest(test_copy.test_suite())
suite.addTest(test_notify.test_suite())