-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
cwd for running dashr tests - auto and override #948
Conversation
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.
@alexcjohnson The fix works for me; locally I can 🔪 os.chdir
and successfully execute the test from within its own directory, as well as outside of it.
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.
💃
Add disabled_days prop to datepickers
Add disabled_days prop to datepickers
@rpkyle with any luck this will let you remove that
os.chdir
call intest_clientside.py
.Sets the cwd for R test apps during the
subprocess.Popen
call - so it won't affect any other tests. If the app was provided as a string, it tries to find the directory of the calling Python file and use that as cwd. If it was provided as a path to a file it just uses the directory of that file. Either way you can override this behavior withdashr.start_server(app, cwd='/some/path/')
optionals
CHANGELOG.md