trove/trove/tests/unittests/taskmanager/test_manager.py
Mat Lowery 06196fcf67 Clusters TaskManager Implementation
adds clusters taskmanager impl, with mongodb sharding as the first
implementation.

Co-Authored-By: amcrn <amcreynolds@ebaysf.com>
Co-Authored-By: rumale <rumale@ebaysf.com>

Partially implements: blueprint clustering

Change-Id: I39eeb7c58f454b26725d047107c52d716ff4df79
2014-08-29 13:29:45 -05:00

27 lines
917 B
Python

# Copyright 2014 eBay Software Foundation
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from testtools import TestCase
from trove.taskmanager.manager import Manager
class TestManager(TestCase):
def test_getattr_lookup(self):
self.assertTrue(callable(Manager().delete_cluster))
self.assertTrue(callable(Manager().mongodb_add_shard_cluster))