Commit d95522dd authored by Tara Evaz Zadeh's avatar Tara Evaz Zadeh
Browse files

Added first dummy test

parent 58178ad0
Pipeline #17659 passed with stage
in 1 minute and 17 seconds
......@@ -14,13 +14,13 @@ before_script:
- virtualenv venv
- source venv/bin/activate
- pip3 install .
# - pip3 install .[tests]
- pip3 install .[tests]
linters:
script:
- pip3 install .[linters]
- make check
#tests:
# script:
# - pytest tests
tests:
script:
- pytest tests
SOURCES=losscalculator setup.py
SOURCES=losscalculator tests setup.py
LENGTH=96
check: $(SOURCES)
......
#!/usr/bin/python3
# Copyright (c) 2020:
# Helmholtz-Zentrum Potsdam Deutsches GeoForschungsZentrum GFZ
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU Affero 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 Affero
# General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see http://www.gnu.org/licenses/.
#!/usr/bin/python3
# Copyright (c) 2020:
# Helmholtz-Zentrum Potsdam Deutsches GeoForschungsZentrum GFZ
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU Affero 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 Affero
# General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see http://www.gnu.org/licenses/.
import logging
logger = logging.getLogger()
def test_func():
pass
Markdown is supported
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