def setUp(self):
     TestCircus.setUp(self)
     self.app = TestApp(app)
     self.stream = QueueStream()
     # let's run a circus
     cmd = '%s -c "from circus import circusd; circusd.main()" %s' % \
         (sys.executable, cfg)
     self.p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE,
                             stderr=subprocess.PIPE)
Exemple #2
0
 def setUp(self):
     TestCircus.setUp(self)
     self.app = TestApp(app)
     self.stream = QueueStream()
     # let's run a circus
     cmd = [sys.executable, "-c",
            "from circus import circusd; circusd.main()", cfg]
     self.p = subprocess.Popen(cmd, stdout=subprocess.PIPE,
                               stderr=subprocess.PIPE)
Exemple #3
0
 def setUp(self):
     TestCircus.setUp(self)
     self.app = TestApp(app)
     self.stream = QueueStream()
     # let's run a circus
     cmd = '%s -c "from circus import circusd; circusd.main()" %s' % \
         (sys.executable, cfg)
     self.p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE,
                               stderr=subprocess.PIPE)
Exemple #4
0
 def setUp(self):
     TestCircus.setUp(self)
     self.app = TestApp(app)
     self.stream = QueueStream()
     # let's run a circus
     cmd = [sys.executable, "-c", "from circus import circusd; circusd.main()", cfg]
     self.p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
     # Start auto discovery thread
     setup_auto_discovery(DEFAULT_ENDPOINT_MULTICAST)
Exemple #5
0
 def setUp(self):
     TestCircus.setUp(self)
     self.app = TestApp(app)
     self.stream = QueueStream()
     # let's run a circus
     cmd = [sys.executable, "-c",
            "from circus import circusd; circusd.main()", cfg]
     self.p = subprocess.Popen(cmd, stdout=subprocess.PIPE,
                               stderr=subprocess.PIPE)
     # Start auto discovery thread
     setup_auto_discovery(DEFAULT_ENDPOINT_MULTICAST)
Exemple #6
0
    def setUp(self):
        TestCircus.setUp(self)

        return
        # XXX to be fixed
        subprocess.call(['mv', SSH_ID_DSA, COPY_ID_DSA])
        subprocess.call(['mv', SSH_ID_DSA_PUB, COPY_ID_DSA_PUB])
        subprocess.call(['mv', SSH_AUTHORIZED_KEYS, COPY_AUTHORIZED_KEYS])
        subprocess.call(['cp', 'circus/tests/test_dsa', SSH_ID_DSA])
        subprocess.call(['cp', 'circus/tests/test_dsa.pub', SSH_ID_DSA_PUB])
        subprocess.call(
            ['cp', 'circus/tests/test_dsa.pub', SSH_AUTHORIZED_KEYS])
        subprocess.call(['ssh-add'])
Exemple #7
0
    def setUp(self):
        TestCircus.setUp(self)

        return
        # XXX to be fixed
        subprocess.call(['mv', SSH_ID_DSA, COPY_ID_DSA])
        subprocess.call(['mv', SSH_ID_DSA_PUB, COPY_ID_DSA_PUB])
        subprocess.call(['mv', SSH_AUTHORIZED_KEYS, COPY_AUTHORIZED_KEYS])
        subprocess.call(['cp', 'circus/tests/test_dsa', SSH_ID_DSA])
        subprocess.call(['cp', 'circus/tests/test_dsa.pub', SSH_ID_DSA_PUB])
        subprocess.call(['cp', 'circus/tests/test_dsa.pub',
                            SSH_AUTHORIZED_KEYS])
        subprocess.call(['ssh-add'])
Exemple #8
0
 def setUp(self):
     TestCircus.setUp(self)
Exemple #9
0
 def setUp(self):
     TestCircus.setUp(self)