-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change testing for direct mode and V6 to exclusion lists #1789
Changes from 5 commits
1d9cc38
7331b03
7f01f02
9f82c7d
d34a742
2d22030
f8da9b4
857c7ec
81d4f5b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,8 @@ | |
# | ||
# ## ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ## | ||
|
||
from datalad.tests.utils import skip_v6 | ||
from datalad.tests.utils import skip_direct_mode | ||
from datalad.crawler.pipelines.tests.utils import _test_smoke_pipelines | ||
from ..balsa import pipeline as ofpipeline, superdataset_pipeline | ||
import os | ||
|
@@ -124,6 +126,8 @@ def test_smoke_pipelines(): | |
@serve_path_via_http | ||
@with_tempfile | ||
@with_tempfile | ||
@skip_direct_mode #FIXME | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. note that if the entire module of tests failes (probably for issues not to be fixed in that module per se), might be worth just skip it at the module level, e.g. how it is done already for scrapy try:
import scrapy
except ImportError:
raise SkipTest("Needs scrapy") There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The entire point is to do it on a per-test level, so we are able to easily ensure we don't worsen the status quo and we can fix that stuff in less complex steps. Have a look at #1562. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, please keep in mind that these are steps towards not having anything fail. We need a quick way to say if there is anything worth fixing at the level of and when touching individual tests. Please keep individual test labeling. |
||
@skip_v6 #FIXME | ||
def test_balsa_extract_meta(ind, topurl, outd, clonedir): | ||
list(initiate_dataset( | ||
template="balsa", | ||
|
@@ -197,6 +201,8 @@ def test_balsa_extract_meta(ind, topurl, outd, clonedir): | |
@serve_path_via_http | ||
@with_tempfile | ||
@with_tempfile | ||
@skip_direct_mode #FIXME | ||
@skip_v6 #FIXME | ||
def test_balsa_pipeline1(ind, topurl, outd, clonedir): | ||
list(initiate_dataset( | ||
template="balsa", | ||
|
@@ -304,6 +310,8 @@ def test_balsa_pipeline1(ind, topurl, outd, clonedir): | |
@serve_path_via_http | ||
@with_tempfile | ||
@with_tempfile | ||
@skip_direct_mode #FIXME | ||
@skip_v6 #FIXME | ||
def test_balsa_pipeline2(ind, topurl, outd, clonedir): | ||
list(initiate_dataset( | ||
template="balsa", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yikes... Even initiation of a data doesn't work in direct mode?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean by "even"? ;-)
Come on - it's currently 91 out of 764. Admittedly it's not single digit yet, but it's not THAT bad, given that we didn't monitor anything but
datalad/tests
anddatalad/support
.