Skip to content
Snippets Groups Projects
Commit c988f699 authored by Sabine Schröder's avatar Sabine Schröder
Browse files

related to #8, #33:

Finally found a way to use the controlled vocabulary in pytests without
hardcoding them instead of getting them from the database itself.
BUT: At several places, 'import toardb' had to be inserted
     (to avoid circular imports when importing only the controlled vocabulary)
AND: pytest would only work when stationmeta.models_annotation
     imports generic.models
     (This seems to be related to the order in which tables are created.)

Deleted all '# coding: utf-8' lines from source code,
since this is standard with python3.
parent e82278c3
No related branches found
No related tags found
Loading
Checking pipeline status
Showing
with 42 additions and 1094 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment