[svn] commit: r2987 - /branches/trac322/src/lib/python/isc/bind10/tests/rename.py
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Sep 20 14:52:34 UTC 2010
Author: vorner
Date: Mon Sep 20 14:52:34 2010
New Revision: 2987
Log:
One of the rename tests can be run even without lib
This one scans the sources, it does not call anything anyway, so there
is no need for a library there.
Modified:
branches/trac322/src/lib/python/isc/bind10/tests/rename.py
Modified: branches/trac322/src/lib/python/isc/bind10/tests/rename.py
==============================================================================
--- branches/trac322/src/lib/python/isc/bind10/tests/rename.py (original)
+++ branches/trac322/src/lib/python/isc/bind10/tests/rename.py Mon Sep 20 14:52:34 2010
@@ -11,11 +11,11 @@
run_tests = False
"""Testcase for isc.bind10.rename."""
- at unittest.skipIf(not run_tests, "Setproctitle not installed, not testing")
class TestRename(unittest.TestCase):
def __get_self_name(self):
return setproctitle.getproctitle()
+ @unittest.skipIf(not run_tests, "Setproctitle not installed, not testing")
def test_rename(self):
"""Test if the renaming function works."""
isc.bind10.rename.rename("rename-test")
More information about the bind10-changes
mailing list