Skip to content

Commit

Permalink
Add PyQt6 import in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mretegan committed Dec 1, 2023
1 parent 87860ea commit ac5d3eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/crispy/quanty/templates/tests/test_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import os

import numpy as np
import PyQt6.QtCore # noqa: F401
import pytest
from ruamel.yaml import YAML

Expand Down Expand Up @@ -51,6 +52,7 @@ def test_calculation(test_data, tmp_path):
# os.makedirs(tmp_path, exist_ok=True)

settings = Config().read()
# TODO: Save the current path before altering it.
settings.setValue("CurrentPath", tmp_path)

calc = calculation(*parameters["args"])
Expand Down

0 comments on commit ac5d3eb

Please sign in to comment.