Skip to content

Commit

Permalink
Merge pull request #14 from pllim/here-comes-the-sun
Browse files Browse the repository at this point in the history
sunpy needs its own ini file
  • Loading branch information
pllim committed Nov 15, 2023
2 parents 2d37b5f + 2827708 commit 6e035d7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions sunpy_tst.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[tool:pytest]
testpaths = "sunpy" "docs"
norecursedirs = ".tox" "build" "docs[\/]_build" "docs[\/]generated" "*.egg-info" "examples" "sunpy[/\]_dev" ".jupyter" ".history" "tools" "sunpy[\/]extern" "benchmarks"
doctest_plus = enabled
doctest_optionflags = NORMALIZE_WHITESPACE FLOAT_CMP ELLIPSIS
addopts = --dist no --arraydiff --doctest-rst --doctest-ignore-import-errors -p no:unraisableexception -p no:threadexception
asdf_schema_tests_enabled = true
asdf_schema_root = sunpy/io/special/asdf/resources/
mpl-results-path = figure_test_images
mpl-use-full-test-name = True
markers =
remote_data: marks this test function as needing remote data.
online: marks this test function as needing online connectivity.
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.
flaky
array_compare
remote_data_strict = True
# We do not care about junit_family or filterwarnings here.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ commands =
reproject,all: pytest --pyargs reproject
specreduce,all: pytest --pyargs specreduce
specutils,all: pytest --pyargs specutils
sunpy,all: pytest --pyargs sunpy --doctest-ignore-import-errors
sunpy,all: pytest --pyargs sunpy -c sunpy_tst.ini

0 comments on commit 6e035d7

Please sign in to comment.