changeset 2140:ff428fa12e3c

Added legacy warning to old unittests.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Sun, 17 Jun 2007 23:49:40 +0200
parents 3accd05a36f3
children 9c7c784281b7
files MoinMoin/_tests/test_Page.py MoinMoin/_tests/test_PageEditor.py MoinMoin/_tests/test_converter_text_html_text_moin_wiki.py MoinMoin/_tests/test_error.py MoinMoin/_tests/test_macro.py MoinMoin/_tests/test_macro_Hits.py MoinMoin/_tests/test_mail_sendmail.py MoinMoin/_tests/test_parser_text_moin_wiki.py MoinMoin/_tests/test_pysupport.py MoinMoin/_tests/test_request.py MoinMoin/_tests/test_search.py MoinMoin/_tests/test_security.py MoinMoin/_tests/test_user.py MoinMoin/_tests/test_util_lock.py MoinMoin/_tests/test_util_web.py MoinMoin/_tests/test_widget_html.py MoinMoin/_tests/test_wikidicts.py MoinMoin/_tests/test_wikiutil.py MoinMoin/_tests/test_wikixml_marshal.py
diffstat 19 files changed, 19 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/_tests/test_Page.py	Sun Jun 17 00:01:13 2007 +0200
+++ b/MoinMoin/_tests/test_Page.py	Sun Jun 17 23:49:40 2007 +0200
@@ -6,7 +6,7 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-import unittest
+import unittest # LEGACY UNITTEST, PLEASE DO NOT IMPORT unittest IN NEW TESTS, PLEASE CONSULT THE py.test DOCS
 from MoinMoin import Page
 
 class TestExists(unittest.TestCase):
--- a/MoinMoin/_tests/test_PageEditor.py	Sun Jun 17 00:01:13 2007 +0200
+++ b/MoinMoin/_tests/test_PageEditor.py	Sun Jun 17 23:49:40 2007 +0200
@@ -6,7 +6,7 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-import unittest
+import unittest # LEGACY UNITTEST, PLEASE DO NOT IMPORT unittest IN NEW TESTS, PLEASE CONSULT THE py.test DOCS
 
 import py
 
--- a/MoinMoin/_tests/test_converter_text_html_text_moin_wiki.py	Sun Jun 17 00:01:13 2007 +0200
+++ b/MoinMoin/_tests/test_converter_text_html_text_moin_wiki.py	Sun Jun 17 23:49:40 2007 +0200
@@ -6,7 +6,7 @@
 @license: GNU GPL, see COPYING for details.
 """
 
-import unittest
+import unittest # LEGACY UNITTEST, PLEASE DO NOT IMPORT unittest IN NEW TESTS, PLEASE CONSULT THE py.test DOCS
 
 import py
 py.test.skip("Many broken tests, much broken code, broken, broken, broken.")
--- a/MoinMoin/_tests/test_error.py	Sun Jun 17 00:01:13 2007 +0200
+++ b/MoinMoin/_tests/test_error.py	Sun Jun 17 23:49:40 2007 +0200
@@ -6,7 +6,7 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-import unittest
+import unittest # LEGACY UNITTEST, PLEASE DO NOT IMPORT unittest IN NEW TESTS, PLEASE CONSULT THE py.test DOCS
 from MoinMoin import error
 
 
--- a/MoinMoin/_tests/test_macro.py	Sun Jun 17 00:01:13 2007 +0200
+++ b/MoinMoin/_tests/test_macro.py	Sun Jun 17 23:49:40 2007 +0200
@@ -7,7 +7,7 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-import unittest
+import unittest # LEGACY UNITTEST, PLEASE DO NOT IMPORT unittest IN NEW TESTS, PLEASE CONSULT THE py.test DOCS
 
 from MoinMoin import macro
 from MoinMoin.parser.text import Parser
--- a/MoinMoin/_tests/test_macro_Hits.py	Sun Jun 17 00:01:13 2007 +0200
+++ b/MoinMoin/_tests/test_macro_Hits.py	Sun Jun 17 23:49:40 2007 +0200
@@ -6,7 +6,7 @@
 
     @license: GNU GPL, see COPYING for details.
 """
-import os, unittest
+import os, unittest # LEGACY UNITTEST, PLEASE DO NOT IMPORT unittest IN NEW TESTS, PLEASE CONSULT THE py.test DOCS
 from MoinMoin import macro
 from MoinMoin.logfile import eventlog
 from MoinMoin.Page import Page
--- a/MoinMoin/_tests/test_mail_sendmail.py	Sun Jun 17 00:01:13 2007 +0200
+++ b/MoinMoin/_tests/test_mail_sendmail.py	Sun Jun 17 23:49:40 2007 +0200
@@ -6,7 +6,7 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-import unittest
+import unittest # LEGACY UNITTEST, PLEASE DO NOT IMPORT unittest IN NEW TESTS, PLEASE CONSULT THE py.test DOCS
 from email.Charset import Charset, QP
 from email.Header import Header
 from MoinMoin.mail import sendmail
--- a/MoinMoin/_tests/test_parser_text_moin_wiki.py	Sun Jun 17 00:01:13 2007 +0200
+++ b/MoinMoin/_tests/test_parser_text_moin_wiki.py	Sun Jun 17 23:49:40 2007 +0200
@@ -9,7 +9,7 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-import unittest
+import unittest # LEGACY UNITTEST, PLEASE DO NOT IMPORT unittest IN NEW TESTS, PLEASE CONSULT THE py.test DOCS
 import re
 from StringIO import StringIO
 
--- a/MoinMoin/_tests/test_pysupport.py	Sun Jun 17 00:01:13 2007 +0200
+++ b/MoinMoin/_tests/test_pysupport.py	Sun Jun 17 23:49:40 2007 +0200
@@ -6,7 +6,7 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-import unittest, os, errno
+import unittest, os, errno # LEGACY UNITTEST, PLEASE DO NOT IMPORT unittest IN NEW TESTS, PLEASE CONSULT THE py.test DOCS
 
 import py
 
--- a/MoinMoin/_tests/test_request.py	Sun Jun 17 00:01:13 2007 +0200
+++ b/MoinMoin/_tests/test_request.py	Sun Jun 17 23:49:40 2007 +0200
@@ -8,7 +8,7 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-import unittest
+import unittest # LEGACY UNITTEST, PLEASE DO NOT IMPORT unittest IN NEW TESTS, PLEASE CONSULT THE py.test DOCS
 from MoinMoin import config
 
 class TestNormalizePagename(unittest.TestCase):
--- a/MoinMoin/_tests/test_search.py	Sun Jun 17 00:01:13 2007 +0200
+++ b/MoinMoin/_tests/test_search.py	Sun Jun 17 23:49:40 2007 +0200
@@ -6,7 +6,7 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-import unittest
+import unittest # LEGACY UNITTEST, PLEASE DO NOT IMPORT unittest IN NEW TESTS, PLEASE CONSULT THE py.test DOCS
 from MoinMoin import search
 
 
--- a/MoinMoin/_tests/test_security.py	Sun Jun 17 00:01:13 2007 +0200
+++ b/MoinMoin/_tests/test_security.py	Sun Jun 17 23:49:40 2007 +0200
@@ -9,7 +9,7 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-import unittest
+import unittest # LEGACY UNITTEST, PLEASE DO NOT IMPORT unittest IN NEW TESTS, PLEASE CONSULT THE py.test DOCS
 from MoinMoin import security
 
 acliter = security.ACLStringIterator
--- a/MoinMoin/_tests/test_user.py	Sun Jun 17 00:01:13 2007 +0200
+++ b/MoinMoin/_tests/test_user.py	Sun Jun 17 23:49:40 2007 +0200
@@ -6,7 +6,7 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-import unittest, os
+import unittest, os # LEGACY UNITTEST, PLEASE DO NOT IMPORT unittest IN NEW TESTS, PLEASE CONSULT THE py.test DOCS
 
 import py
 
--- a/MoinMoin/_tests/test_util_lock.py	Sun Jun 17 00:01:13 2007 +0200
+++ b/MoinMoin/_tests/test_util_lock.py	Sun Jun 17 23:49:40 2007 +0200
@@ -8,7 +8,7 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-import unittest, tempfile, os, time, shutil
+import unittest, tempfile, os, time, shutil # LEGACY UNITTEST, PLEASE DO NOT IMPORT unittest IN NEW TESTS, PLEASE CONSULT THE py.test DOCS
 
 import py
 
--- a/MoinMoin/_tests/test_util_web.py	Sun Jun 17 00:01:13 2007 +0200
+++ b/MoinMoin/_tests/test_util_web.py	Sun Jun 17 23:49:40 2007 +0200
@@ -6,7 +6,7 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-import unittest
+import unittest # LEGACY UNITTEST, PLEASE DO NOT IMPORT unittest IN NEW TESTS, PLEASE CONSULT THE py.test DOCS
 from MoinMoin import wikiutil
 from MoinMoin.util import web
 from MoinMoin.widget import html
--- a/MoinMoin/_tests/test_widget_html.py	Sun Jun 17 00:01:13 2007 +0200
+++ b/MoinMoin/_tests/test_widget_html.py	Sun Jun 17 23:49:40 2007 +0200
@@ -6,7 +6,7 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-import unittest
+import unittest # LEGACY UNITTEST, PLEASE DO NOT IMPORT unittest IN NEW TESTS, PLEASE CONSULT THE py.test DOCS
 from MoinMoin.widget import html
 
 class TestHTMLWidgets(unittest.TestCase):
--- a/MoinMoin/_tests/test_wikidicts.py	Sun Jun 17 00:01:13 2007 +0200
+++ b/MoinMoin/_tests/test_wikidicts.py	Sun Jun 17 23:49:40 2007 +0200
@@ -6,7 +6,7 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-import unittest
+import unittest # LEGACY UNITTEST, PLEASE DO NOT IMPORT unittest IN NEW TESTS, PLEASE CONSULT THE py.test DOCS
 import re
 
 from MoinMoin import wikidicts
--- a/MoinMoin/_tests/test_wikiutil.py	Sun Jun 17 00:01:13 2007 +0200
+++ b/MoinMoin/_tests/test_wikiutil.py	Sun Jun 17 23:49:40 2007 +0200
@@ -6,7 +6,7 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-import unittest
+import unittest # LEGACY UNITTEST, PLEASE DO NOT IMPORT unittest IN NEW TESTS, PLEASE CONSULT THE py.test DOCS
 from MoinMoin import wikiutil
 
 
--- a/MoinMoin/_tests/test_wikixml_marshal.py	Sun Jun 17 00:01:13 2007 +0200
+++ b/MoinMoin/_tests/test_wikixml_marshal.py	Sun Jun 17 23:49:40 2007 +0200
@@ -6,7 +6,7 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-import unittest
+import unittest # LEGACY UNITTEST, PLEASE DO NOT IMPORT unittest IN NEW TESTS, PLEASE CONSULT THE py.test DOCS
 import array
 from MoinMoin.wikixml import marshal