Commit 63fe8afa authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Merge branch 'enhancement/refactor_tests' into 'master'

Avoid ImportError and refactor tests.

See merge request !9
parents c882c189 d98b2649
Pipeline #35476 passed with stage
in 2 minutes and 29 seconds
......@@ -12,7 +12,7 @@ test_sensormapgeo:
script:
- source /root/mambaforge/bin/activate ci_env
- pip install pytest pytest-cov pytest-reporter-html1
- pip install pytest pytest-cov pytest-reporter-html1 pytest-subtests
# run tests
- make pytest
......
......@@ -2,6 +2,14 @@
History
=======
0.6.1 (2021-11-26)
------------------
* Increased minimal version of pyresample to avoid ImportError.
* Refactored unittests to pytest (new structure, raw assertions, ...).
* Added subtests bases on pytest-subtests.
0.6.0 (2021-11-26)
------------------
......
[pytest]
filterwarnings =
ignore:A private pytest class or function was used.
......@@ -24,6 +24,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
__version__ = '0.6.0'
__versionalias__ = '20211126.01'
__version__ = '0.6.1'
__versionalias__ = '20211126.02'
__author__ = 'Daniel Scheffler'
......@@ -39,11 +39,11 @@ version = {}
with open("sensormapgeo/version.py") as version_file:
exec(version_file.read(), version)
requirements = ['numpy', 'gdal', 'pyresample>=1.11.0', 'py_tools_ds>=0.18.0', 'pyproj>=2.2', 'pebble']
requirements = ['numpy', 'gdal', 'pyresample>=1.17.0', 'py_tools_ds>=0.18.0', 'pyproj>=2.2', 'pebble']
setup_requirements = []
test_requirements = ['pytest', 'pytest-cov', 'pytest-reporter-html1', 'urlchecker']
test_requirements = ['pytest', 'pytest-cov', 'pytest-reporter-html1', 'pytest-subtests', 'urlchecker']
setup(
author="Daniel Scheffler",
......
......@@ -11,7 +11,7 @@ dependencies:
- numpy
- py-tools-ds>=0.18.0
- pyproj>=2.2
- pyresample>=1.11.0
- pyresample>=1.17.0
- pip:
- pebble
......@@ -23,6 +23,7 @@ dependencies:
- pytest
- pytest-cov
- pytest-reporter-html1
- pytest-subtests
- sphinx-argparse
- sphinx-autodoc-typehints
- sphinx_rtd_theme
......
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment