From b24ba307c3dd6b6f38601cfc1cf1f130e082d640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 13 Mar 2016 03:36:20 +0100 Subject: [PATCH] tests: move warning to the module level --- tests/__init__.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/tests/__init__.py b/tests/__init__.py index 1aff0021..e30200fa 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -22,6 +22,14 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # + +""" +.. warning:: + The test suite hereby claims any domain whose name starts with + :py:data:`VMPREFIX` as fair game. This is needed to enforce sane + test executing environment. If you have domains named ``test-*``, + don't run the tests. +""" from distutils import spawn import functools @@ -387,11 +395,6 @@ class SystemTestsMixin(object): def _remove_test_vms(cls, qc, conn, prefix=VMPREFIX): """Aggresively remove any domain that has name in testing namespace. - .. warning:: - The test suite hereby claims any domain whose name starts with - :py:data:`VMPREFIX` as fair game. This is needed to enforce sane - test executing environment. If you have domains named ``test-*``, - don't run the tests. """ # first, remove them Qubes-way