kopia lustrzana https://github.com/ctjacobs/pyqso
Importing the modules required for the unit tests.
rodzic
3a5a1525a5
commit
39aa303959
|
@ -22,6 +22,7 @@ before_script:
|
|||
- export PYTHONPATH=`pwd`:$PYTHONPATH
|
||||
- echo $PYTHONPATH
|
||||
- flake8 pyqso
|
||||
- flake8 tests
|
||||
- flake8 bin
|
||||
|
||||
script:
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
|
||||
import re
|
||||
import logging
|
||||
import unittest
|
||||
from datetime import datetime
|
||||
import calendar
|
||||
try:
|
||||
|
|
|
@ -18,11 +18,6 @@
|
|||
# along with PyQSO. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import logging
|
||||
import unittest
|
||||
try:
|
||||
import unittest.mock as mock
|
||||
except ImportError:
|
||||
import mock
|
||||
try:
|
||||
import http.client as http_client
|
||||
except ImportError:
|
||||
|
|
|
@ -20,11 +20,6 @@
|
|||
from gi.repository import Gtk, GObject, Gdk
|
||||
import logging
|
||||
import telnetlib
|
||||
import unittest
|
||||
try:
|
||||
import unittest.mock as mock
|
||||
except ImportError:
|
||||
import mock
|
||||
try:
|
||||
import configparser
|
||||
except ImportError:
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
from gi.repository import Gtk
|
||||
import logging
|
||||
import sqlite3 as sqlite
|
||||
import unittest
|
||||
|
||||
from pyqso.adif import AVAILABLE_FIELD_NAMES_ORDERED
|
||||
|
||||
|
|
|
@ -20,12 +20,7 @@
|
|||
from gi.repository import Gtk
|
||||
import logging
|
||||
import sqlite3 as sqlite
|
||||
import os
|
||||
from os.path import expanduser
|
||||
try:
|
||||
import unittest.mock as mock
|
||||
except ImportError:
|
||||
import mock
|
||||
try:
|
||||
import configparser
|
||||
except ImportError:
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with PyQSO. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import unittest
|
||||
from pyqso.adif import *
|
||||
|
||||
|
||||
|
|
|
@ -17,6 +17,11 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with PyQSO. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import unittest
|
||||
try:
|
||||
import unittest.mock as mock
|
||||
except ImportError:
|
||||
import mock
|
||||
from pyqso.callsign_lookup import *
|
||||
|
||||
|
||||
|
|
|
@ -17,6 +17,11 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with PyQSO. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import unittest
|
||||
try:
|
||||
import unittest.mock as mock
|
||||
except ImportError:
|
||||
import mock
|
||||
from pyqso.dx_cluster import *
|
||||
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with PyQSO. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import unittest
|
||||
from pyqso.log import *
|
||||
|
||||
|
||||
|
|
|
@ -17,6 +17,12 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with PyQSO. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import unittest
|
||||
try:
|
||||
import unittest.mock as mock
|
||||
except ImportError:
|
||||
import mock
|
||||
import os
|
||||
from pyqso.logbook import *
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue