-
Notifications
You must be signed in to change notification settings - Fork 232
test suite doesn't pass under OS X #26
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
Comments
@stratoukos Thank you for this. I don't have OS X, but I will follow up. 1.) There is no reason to be using Are you using the git / development version? I will reference my fixes to this issue. |
@stratoukos can you give the latest git a shot? |
Yes I was working off master. I will give it another shot tomorrow morning. |
There was still |
FocusAndPaneIndexTest and PaneOrderingTest in test_workspacebuilder.py fail to pass under OS X for 2 reasons:
/sys
does not exist in OS X/var
is symlinked to/private/var
andpane.get('pane_current_path')
returns the resolved path, soassertEqual
fails withAssertionError: u'/private/var' != '/var'
. The same also stands for/tmp
.I tried to fix this, either by manually resolving the paths in the test case with
os.path.realpath
, or by changing the paths in the test case and the yaml configuration to/usr
. In both cases there were some weird issues with running the tests.When I run one of the failing tests alone, it works with either fix. If I run the whole suite, the test cases failed randomly (not always!) because
pane.get('pane_current_path')
returned either mycwd
(the root of the repo) or my home directory.The text was updated successfully, but these errors were encountered: