From a968a490f6e3d8afd77ccde49361c995693ce5be Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Mon, 24 Jul 2017 09:14:07 +0100 Subject: tests: Add unit tests for 'virt_bootstrap' module --- tests/__init__.py | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'tests/__init__.py') diff --git a/tests/__init__.py b/tests/__init__.py index e69de29..e82c6d5 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -0,0 +1,39 @@ +""" + Test suite for virt-bootstrap + + Authors: Radostin Stoyanov + + 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 . +""" + +import sys +import unittest + +try: + import mock +except ImportError: + import unittest.mock as mock + +sys.path += '../src' # noqa: E402 + +# pylint: disable=import-error +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'] -- cgit