##// END OF EJS Templates
package_data was missing the .txt files in the testing directories. This was causing ...
package_data was missing the .txt files in the testing directories. This was causing the test suite to fail when IPtyhon was installed. I have modified find_package_data in setupbase.py to include these files. Anyone who writes tests that rely on .txt files needs to add them to the package_data.

File last commit:

r856:50044c43
r1317:1b75620e
Show More
test_cd.ipy
18 lines | 289 B | text/plain | TextLexer
# assumes there is /tmp and /opt
def curpath():
cwd = os.path.splitdrive(os.getcwd())[1].replace('\\','/')
print cwd
return cwd
import os
cd /
assert curpath() == '/'
%cd /tmp
assert curpath() == '/tmp'
pushd /opt
assert curpath() == '/opt'
popd
assert curpath() == '/tmp'