Skip to content
Discussion options

You must be logged in to vote

I think this can be an answer:

place it outside of, and after the main node:

main:
   ...
webservice_1:
    resources:
      NetworkService:
    ...

and then in the conf:

@pytest.fixture(scope='session')
def my_fixture(env):
    target = env.get_target('webservice_1')
    return target.get_resource('NetworkService')

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Bastian-Krause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant