Skip to content

Commit

Permalink
fix(tests): annotations test fix
Browse files Browse the repository at this point in the history
Signed-off-by: GustaafL <guus@seita.nl>
  • Loading branch information
GustaafL committed Dec 14, 2023
1 parent 495c425 commit 7fae097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flexmeasures/data/tests/test_annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from flexmeasures.data.models.data_sources import DataSource


def test_get_or_create_annotation(db):
def test_get_or_create_annotation(db, setup_sources):
"""Save an annotation, then get_or_create a new annotation with the same contents."""
num_annotations_before = Annotation.query.count()
source = DataSource.query.first()
Expand Down

0 comments on commit 7fae097

Please sign in to comment.