A big of refactoring for the `$ gunicorn_pecan` tests.

This commit is contained in:
Ryan Petrello
2013-01-10 13:56:44 -05:00
parent 83d2f23b40
commit 4d3ff312e8

View File

@@ -372,14 +372,14 @@ class TestGunicornServeCommand(TestTemplateBuilds):
super(TestGunicornServeCommand, self).create_virtualenv()
# Install gunicorn
self.gunicorn_exe = self.install_dependency('gunicorn')
self.install_dependency('gunicorn')
def install_dependency(self, name):
return super(
TestGunicornServeCommand,
self
).install_dependency(name).replace(
'gunicorn', 'gunicorn_pecan'
@property
def gunicorn_exe(self):
return os.path.join(
self.install_dir,
'bin',
'gunicorn_pecan'
)
def poll_gunicorn(self, proc, port):