Skip to content

Commit

Permalink
fix tests and flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
lmichel committed Jul 5, 2024
1 parent b37947d commit 7996354
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mivot_validator/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from mivot_validator.logger_setup import LoggerSetup
from mivot_validator.utils.logger_setup import LoggerSetup

logger = LoggerSetup.get_logger()
LoggerSetup.set_info_level()
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ mivot-instance-validate = "mivot_validator.launchers.instance_checking_launcher:
mivot-snippet-model = "mivot_validator.launchers.model_snippets_launcher:main"
mivot-snippet-instance = "mivot_validator.launchers.instance_snippet_launcher:main"

[tool.pytest.ini_options]
pythonpath = [
"."
]
2 changes: 1 addition & 1 deletion tests/test_snippet_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def testFileCohesion(self):
os.path.join(session.tmp_data_path, FILE_NAME + ".xml"),
# os.path.join(session.tmp_data_path, FILE_NAME + ".xml"),
os.path.realpath(
os.getcwd() + "/../../../tests/data/" + REF_FILE_NAME + ".xml"
os.path.dirname(__file__) + "/data/" + REF_FILE_NAME + ".xml"
),
shallow=False,
)
Expand Down

0 comments on commit 7996354

Please sign in to comment.