pytest-notebook icon indicating copy to clipboard operation
pytest-notebook copied to clipboard

Can I pass enviromental variables to the jupyter in test?

Open TommasoBendinelli opened this issue 5 years ago • 1 comments

I would like to pass an external variable while testing my jupyters. Can I do that?

TommasoBendinelli avatar Nov 05 '20 12:11 TommasoBendinelli

Hey @TommasoBendinelli I think you should be able to. Have you tried setting a global variable and seeing if it can be read in the notebook?

chrisjsewell avatar Nov 28 '20 19:11 chrisjsewell