Beispiel #1
0
  def start_deps(self, flush=True):

    self.fixture_mongodb.start()
    self.fixture_redis.start()

    # Will auto-connect
    connections.reset()

    self.mongodb_jobs = connections.mongodb_jobs
    self.mongodb_logs = connections.mongodb_logs
    self.redis = connections.redis

    if flush:
      self.fixture_mongodb.flush()
      self.fixture_redis.flush()
Beispiel #2
0
    def start_deps(self, flush=True):

        self.fixture_mongodb.start()
        self.fixture_redis.start()

        # Will auto-connect
        connections.reset()

        self.mongodb_jobs = connections.mongodb_jobs
        self.mongodb_logs = connections.mongodb_logs
        self.redis = connections.redis

        if flush:
            self.fixture_mongodb.flush()
            self.fixture_redis.flush()