Skip to content

Commit

Permalink
Fixes pytest config
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonb5 committed Jan 20, 2022
1 parent e951b69 commit eddcf9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion conftest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import sys

CIMEROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), "scripts", "lib"))
CIMEROOT = os.path.abspath(os.path.join(os.path.dirname(__file__)))
sys.path.insert(0, CIMEROOT)

import pytest
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ junit_family=xunit2
addopts = --cov=CIME --cov-report term-missing --cov-report html:test_coverage/html --cov-report xml:test_coverage/coverage.xml -s
python_files = test_*.py
testpaths =
scripts/lib/CIME/tests
CIME/tests

[coverage:report]
omit =
scripts/lib/CIME/tests/*
CIME/tests/*

0 comments on commit eddcf9a

Please sign in to comment.