-
Notifications
You must be signed in to change notification settings - Fork 1
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
New fixture common_init_opts #65
Conversation
This is to replace the variable 'common_init_opts' that used to be a part of datalad/distributed/tests/ria_utils.py
@@ -72,3 +72,11 @@ def ria_sshserver(ria_sshserver_setup, monkeypatch): | |||
with monkeypatch.context() as m: | |||
m.setenv("DATALAD_SSH_IDENTITYFILE", ria_sshserver_setup['SSH_SECKEY']) | |||
yield ria_baseurl, ria_sshserver_setup['LOCALPATH'] | |||
|
|||
|
|||
@pytest.fixture(autouse=False, scope="function") |
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.
Technically not necessary to be function-scope, could be session-scope (for now), but also fine as-is.
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.
thanks. I've kept it as is for now.
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.
Thx!
Fixes #63