summaryrefslogtreecommitdiffstats
path: root/tests/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/__init__.py')
-rw-r--r--tests/__init__.py44
1 files changed, 22 insertions, 22 deletions
diff --git a/tests/__init__.py b/tests/__init__.py
index e82c6d5..1b06616 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -1,22 +1,23 @@
-"""
- Test suite for virt-bootstrap
-
- Authors: Radostin Stoyanov <rstoyanov1@gmail.com>
-
- Copyright (C) 2017 Radostin Stoyanov
+# -*- coding: utf-8 -*-
+# Authors: Radostin Stoyanov <rstoyanov1@gmail.com>
+#
+# Copyright (C) 2017 Radostin Stoyanov
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
+"""
+Test suite for virt-bootstrap
"""
import sys
@@ -27,13 +28,12 @@ try:
except ImportError:
import unittest.mock as mock
-sys.path += '../src' # noqa: E402
+sys.path.insert(0, '../src') # noqa: E402
-# pylint: disable=import-error
+# pylint: disable=import-error, wrong-import-position
from virtBootstrap import virt_bootstrap
from virtBootstrap import sources
from virtBootstrap import progress
from virtBootstrap import utils
-__all__ = ['unittest', 'mock',
- 'virt_bootstrap', 'sources', 'progress', 'utils']
+__all__ = ['virt_bootstrap', 'sources', 'progress', 'utils']