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

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/s/y/synnefo-HEAD/snf-cyclades-app/synnefo/logic/queues.py   synnefo(Download)
 
 
from synnefo.settings import BACKEND_PREFIX_ID, DEBUG, EXCHANGE_GANETI
 
try:

src/s/y/synnefo-HEAD/snf-cyclades-app/synnefo/logic/tests/reconciliation.py   synnefo(Download)
    def test_orphan_server(self, mrapi):
        cmrapi = self.reconciler.client
        mrapi().GetInstances.return_value =\
            [{"name": "%s22" % settings.BACKEND_PREFIX_ID,
             "beparams": {"maxmem": 1024,
        self.reconciler.reconcile()
        cmrapi.DeleteInstance\
              .assert_called_once_with("%s22" % settings.BACKEND_PREFIX_ID)
 
    def test_unsynced_operstate(self, mrapi):