Skip to content

Commit 6e035d7

Browse files
authored
Merge pull request #14 from pllim/here-comes-the-sun
sunpy needs its own ini file
2 parents 2d37b5f + 2827708 commit 6e035d7

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

sunpy_tst.ini

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[tool:pytest]
2+
testpaths = "sunpy" "docs"
3+
norecursedirs = ".tox" "build" "docs[\/]_build" "docs[\/]generated" "*.egg-info" "examples" "sunpy[/\]_dev" ".jupyter" ".history" "tools" "sunpy[\/]extern" "benchmarks"
4+
doctest_plus = enabled
5+
doctest_optionflags = NORMALIZE_WHITESPACE FLOAT_CMP ELLIPSIS
6+
addopts = --dist no --arraydiff --doctest-rst --doctest-ignore-import-errors -p no:unraisableexception -p no:threadexception
7+
asdf_schema_tests_enabled = true
8+
asdf_schema_root = sunpy/io/special/asdf/resources/
9+
mpl-results-path = figure_test_images
10+
mpl-use-full-test-name = True
11+
markers =
12+
remote_data: marks this test function as needing remote data.
13+
online: marks this test function as needing online connectivity.
14+
mpl_image_compare: marks this test function as using hash-based Matplotlib figure verification. This mark is not meant to be directly applied, but is instead automatically applied when a test function uses the @sunpy.tests.helpers.figure_test decorator.
15+
flaky
16+
array_compare
17+
remote_data_strict = True
18+
# We do not care about junit_family or filterwarnings here.

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ commands =
4949
reproject,all: pytest --pyargs reproject
5050
specreduce,all: pytest --pyargs specreduce
5151
specutils,all: pytest --pyargs specutils
52-
sunpy,all: pytest --pyargs sunpy --doctest-ignore-import-errors
52+
sunpy,all: pytest --pyargs sunpy -c sunpy_tst.ini

0 commit comments

Comments
 (0)