Skip to content
Snippets Groups Projects
Commit a2dd2105 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

FIX: Unittest and use dev branch of pylib and advancedtools in tox

parent a2fee9d8
Branches
Tags
2 merge requests!53Release 0.1,!34F insert auth
Pipeline #28203 passed
...@@ -13,3 +13,4 @@ provenance.yml ...@@ -13,3 +13,4 @@ provenance.yml
*.jks *.jks
*.tar.gz *.tar.gz
*.sql *.sql
/integrationtests/test-profile/custom/other/cert/
[tox] [tox]
envlist=py36, py37, py38, py39, py310 envlist=py38, py39, py310
skip_missing_interpreters = true skip_missing_interpreters = true
[testenv] [testenv]
deps = . deps = .
pytest pytest
pytest-cov pytest-cov
# TODO: Make this f-branch sensitive
git+https://gitlab.indiscale.com/caosdb/src/caosdb-pylib.git@dev
git+https://gitlab.indiscale.com/caosdb/src/caosdb-advanced-user-tools.git@dev
commands=py.test --cov=caosdb -vv {posargs} commands=py.test --cov=caosdb -vv {posargs}
[flake8] [flake8]
max-line-length=100 max-line-length=100
...@@ -16,12 +16,12 @@ Data: # name of the converter ...@@ -16,12 +16,12 @@ Data: # name of the converter
subtree: &template subtree: &template
project_dir: # name of the first subtree element which is a converter project_dir: # name of the first subtree element which is a converter
type: Directory type: Directory
match: ((?P<year>[0-9]{4,4})_)?(?P<identifier>.*) match: ((?P<date>[0-9]{4,4})_)?(?P<identifier>.*)
records: records:
Project: # this is an identifiable in this case Project: # this is an identifiable in this case
parents: parents:
- Project # not needed as the name is equivalent - Project # not needed as the name is equivalent
date: $year date: $date
identifier: $identifier identifier: $identifier
subtree: subtree:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment