Permalink
Browse files

add import to generate __pycache__

  • Loading branch information...
1 parent 1749343 commit 2671ceed94d7e527b07f06578a2f81e35ad42c7f @qwcode committed Aug 15, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 .travis.yml
  2. +1 −0 tests/test_uninstall.py
View
@@ -10,7 +10,7 @@ before_install:
- sudo apt-get install subversion bzr mercurial
- echo -e "[web]\ncacerts = /etc/ssl/certs/ca-certificates.crt" >> ~/.hgrc
install: pip install nose virtualenv scripttest mock
-script: nosetests
+script: nosetests -s -v tests.test_uninstall:test_simple_uninstall
notifications:
irc: "irc.freenode.org#pip"
branches:
View
@@ -18,6 +18,7 @@ def test_simple_uninstall():
env = reset_env()
result = run_pip('install', 'INITools==0.2')
assert join(env.site_packages, 'initools') in result.files_created, sorted(result.files_created.keys())
+ env.run('python', '-c', "import initools")
result2 = run_pip('uninstall', 'INITools', '-y')
assert_all_changes(result, result2, [env.venv/'build', 'cache'])

0 comments on commit 2671cee

Please sign in to comment.