Commit 6715f8d1 authored by Benjamin Jakimow's avatar Benjamin Jakimow
Browse files

modified tests


Signed-off-by: Benjamin Jakimow's avatarBenjamin Jakimow <benjamin.jakimow@geo.hu-berlin.de>
parent 11968e78
Pipeline #12436 failed
......@@ -29,8 +29,9 @@ pipelines:
- export PYTHONPATH="${PYTHONPATH}:$(pwd)"
- python3 -m pip install -r requirements_dev.txt
- python3 scripts/setup_repository.py
- python3 -m coverage run -m unittest discover -s tests
- python3 -m coverage report
#- python3 -m coverage run -m unittest discover -s tests
#- python3 -m coverage report
- ./scripts/run_tests.sh
# build and upload plugin to download section
- python3 scripts/create_plugin.py -z timeseriesviewerplugin.$(BITBUCKET_BRANCH).lastbuild.zip
#- find deploy -name "timeseriesviewerplugin*zip" -exec cp -t deploy2 {} +
......
......@@ -59,13 +59,6 @@ class EOTSVTestCase(TestCase):
import os
os.environ['EOTSV_DEBUG'] = 'True'
def testOutputDirectory(self) -> pathlib.Path:
from eotimeseriesviewer import DIR_REPO
d = DIR_REPO / 'test-outputs'
os.makedirs(d, exist_ok=True)
return d
def closeBlockingWidget(self):
"""
Closes the active blocking (modal) widget
......
......@@ -37,7 +37,7 @@ class TestLabeling(EOTSVTestCase):
def setUpClass(cls):
super().setUpClass()
print('## setUpClass')
app = qgis.testing.start_app(cleanup=True)
#app = qgis.testing.start_app(cleanup=True)
import eotimeseriesviewer.labeling
print('## setUpClass - cleanup')
for store in eotimeseriesviewer.MAP_LAYER_STORES:
......
......@@ -12,6 +12,7 @@ from eotimeseriesviewer.timeseries import *
from eotimeseriesviewer.tests import EOTSVTestCase
import xmlrunner
class TestTimeSeries(EOTSVTestCase):
def createTestDatasets(self):
......
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