Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(0)  |  Derive(2)  |  Import(6)

src/c/o/conchoctopus-0.1a1/conchoctopus/test/test_fabricapi.py   conchoctopus(Download)
    """
    from conchoctopus.test.fabfile import BasicTask as Task
    from conchoctopus.test.fabfile import BasicConfig as Config
 
    def test_RunCommandSuccess(self):
class FabricAPITestTaskErrorHandling(FabricAPIBaseTest):
    """
    Test handling errors in a task.
    """
    from conchoctopus.test.fabfile import BasicConfig as Config
    timeout=11
 
    from conchoctopus.test.fabfile import BasicConfig as Config
    class Task(Task):
 
        all those (see below) dirty tricks.
        """
        from conchoctopus.test.fabfile import BasicConfig
        # Make self.check not raise an AttributeError.
        @defer.inlineCallbacks
        class Config(BasicConfig):
            hosts=['test@localhost:5023', 'test@localhost:5024']
        # This won't influence any other tests.Trial magic (?)
        self.Config=Config
        self.setUpTestServers()

src/c/o/conchoctopus-0.1a1/conchoctopus/test/fabfile_mtask.py   conchoctopus(Download)
from twisted.internet import defer
from conchoctopus.fabricapi import Task
from conchoctopus.test.fabfile import BasicConfig
 
class MultiTask(Task):

src/c/o/conchoctopus-0.1a1/conchoctopus/test/fabfile_mhosts.py   conchoctopus(Download)
from twisted.internet import defer
from conchoctopus.fabricapi import Task
from conchoctopus.test.fabfile import BasicConfig
 
 
 
class MultiHostConfig(BasicConfig):