summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2020-03-16 19:51:27 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-03-16 20:06:33 +0100
commitf5143327b243fc616f37252d76bd31f2690b088d (patch)
tree0c165ca6b5a6a0783d594b2beeb50295e52f6a5f
parentMergify: configuration update (diff)
downloadglucometerutils-f5143327b243fc616f37252d76bd31f2690b088d.tar
glucometerutils-f5143327b243fc616f37252d76bd31f2690b088d.tar.gz
glucometerutils-f5143327b243fc616f37252d76bd31f2690b088d.tar.bz2
glucometerutils-f5143327b243fc616f37252d76bd31f2690b088d.tar.lz
glucometerutils-f5143327b243fc616f37252d76bd31f2690b088d.tar.xz
glucometerutils-f5143327b243fc616f37252d76bd31f2690b088d.tar.zst
glucometerutils-f5143327b243fc616f37252d76bd31f2690b088d.zip
-rw-r--r--glucometerutils/drivers/tests/__init__.py0
-rw-r--r--glucometerutils/drivers/tests/test_contourusb.py (renamed from test/test_contourusb.py)0
-rw-r--r--glucometerutils/drivers/tests/test_fsoptium.py (renamed from test/test_fsoptium.py)0
-rw-r--r--glucometerutils/drivers/tests/test_otultra2.py (renamed from test/test_otultra2.py)0
-rw-r--r--glucometerutils/drivers/tests/test_otultraeasy.py (renamed from test/test_otultraeasy.py)0
-rw-r--r--glucometerutils/drivers/tests/test_td4277.py (renamed from test/test_td4277.py)0
-rw-r--r--glucometerutils/support/tests/__init__.py0
-rw-r--r--glucometerutils/support/tests/test_construct_extras.py (renamed from test/test_construct_extras.py)0
-rw-r--r--glucometerutils/support/tests/test_freestyle.py (renamed from test/test_freestyle.py)0
-rwxr-xr-xglucometerutils/support/tests/test_lifescan.py (renamed from test/test_lifescan.py)0
-rw-r--r--glucometerutils/tests/__init__.py0
-rw-r--r--glucometerutils/tests/test_common.py (renamed from test/test_common.py)0
-rw-r--r--mypy.ini3
-rw-r--r--setup.cfg2
-rw-r--r--test/__init__.py9
15 files changed, 3 insertions, 11 deletions
diff --git a/glucometerutils/drivers/tests/__init__.py b/glucometerutils/drivers/tests/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/glucometerutils/drivers/tests/__init__.py
diff --git a/test/test_contourusb.py b/glucometerutils/drivers/tests/test_contourusb.py
index 3b8b547..3b8b547 100644
--- a/test/test_contourusb.py
+++ b/glucometerutils/drivers/tests/test_contourusb.py
diff --git a/test/test_fsoptium.py b/glucometerutils/drivers/tests/test_fsoptium.py
index bdc76f8..bdc76f8 100644
--- a/test/test_fsoptium.py
+++ b/glucometerutils/drivers/tests/test_fsoptium.py
diff --git a/test/test_otultra2.py b/glucometerutils/drivers/tests/test_otultra2.py
index 6b36602..6b36602 100644
--- a/test/test_otultra2.py
+++ b/glucometerutils/drivers/tests/test_otultra2.py
diff --git a/test/test_otultraeasy.py b/glucometerutils/drivers/tests/test_otultraeasy.py
index c6fce83..c6fce83 100644
--- a/test/test_otultraeasy.py
+++ b/glucometerutils/drivers/tests/test_otultraeasy.py
diff --git a/test/test_td4277.py b/glucometerutils/drivers/tests/test_td4277.py
index fbd4aa2..fbd4aa2 100644
--- a/test/test_td4277.py
+++ b/glucometerutils/drivers/tests/test_td4277.py
diff --git a/glucometerutils/support/tests/__init__.py b/glucometerutils/support/tests/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/glucometerutils/support/tests/__init__.py
diff --git a/test/test_construct_extras.py b/glucometerutils/support/tests/test_construct_extras.py
index 6bba873..6bba873 100644
--- a/test/test_construct_extras.py
+++ b/glucometerutils/support/tests/test_construct_extras.py
diff --git a/test/test_freestyle.py b/glucometerutils/support/tests/test_freestyle.py
index fb3f3b9..fb3f3b9 100644
--- a/test/test_freestyle.py
+++ b/glucometerutils/support/tests/test_freestyle.py
diff --git a/test/test_lifescan.py b/glucometerutils/support/tests/test_lifescan.py
index b50b5d6..b50b5d6 100755
--- a/test/test_lifescan.py
+++ b/glucometerutils/support/tests/test_lifescan.py
diff --git a/glucometerutils/tests/__init__.py b/glucometerutils/tests/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/glucometerutils/tests/__init__.py
diff --git a/test/test_common.py b/glucometerutils/tests/test_common.py
index 3e733e3..3e733e3 100644
--- a/test/test_common.py
+++ b/glucometerutils/tests/test_common.py
diff --git a/mypy.ini b/mypy.ini
index 0d124c8..a7c0c85 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -1,6 +1,9 @@
[mypy]
python_version = 3.7
+[mypy-absl.testing.*]
+ignore_missing_imports = True
+
[mypy-serial]
ignore_missing_imports = True
diff --git a/setup.cfg b/setup.cfg
index cd71828..81b33c5 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -10,6 +10,4 @@ norecursedirs =
build
venv
.env
-testpaths =
- test
timeout = 120
diff --git a/test/__init__.py b/test/__init__.py
deleted file mode 100644
index 139fd0c..0000000
--- a/test/__init__.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# SPDX-License-Identifier: MIT
-"""Add the top-level module to the PYTHONPATH."""
-
-import os
-import sys
-
-sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))