theoden avatar theoden committed 9c07813

PipSetupTest is temporarily marked as invalid.

Comments (0)

Files changed (1)

fab_deploy_tests/tests/virtualenv.py

+# coding: utf-8
 from __future__ import absolute_import
+
 from fabric.api import env
 from fabtest import fab
+
 from fab_deploy import pip
 from .deploy import FabDeployProjectTest
+from ..utils import setup_ssh, setup_sudo
 from ..test_project2.fabfile import foo_site as foo_site2, project as project2
 
 class NoPipSetupTest(FabDeployProjectTest):
     project = project2
 
     def test_pip_conf(self):
+        """ FIXME: The test is not valid due to inner contradiction. """
         fab(foo_site2)
+        setup_sudo()
+        setup_ssh()
+
         self.assertNoFile(env.conf.HOME_DIR+'/.pip/pip.conf')
         fab(pip.setup_conf)
         self.assertFileExists(env.conf.HOME_DIR+'/.pip/pip.conf')
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.