Clean up the 'queues' package for tests

Partially-Implements blueprint: notifications

Change-Id: I768fcbc6266c737894ff2489049d3535df22e80e
This commit is contained in:
Fei Long Wang 2014-12-18 14:29:15 +13:00
parent d774c21362
commit e60e1ea810
41 changed files with 48 additions and 48 deletions

View File

@ -35,7 +35,7 @@ from zaqar.storage.mongodb import options
from zaqar.storage.mongodb import utils
from zaqar.storage import pooling
from zaqar import tests as testing
from zaqar.tests.queues.storage import base
from zaqar.tests.unit.storage import base
class MongodbSetupMixin(object):

View File

@ -29,7 +29,7 @@ from zaqar.storage.redis import messages
from zaqar.storage.redis import options
from zaqar.storage.redis import utils
from zaqar import tests as testing
from zaqar.tests.queues.storage import base
from zaqar.tests.unit.storage import base
def _create_sample_message(now=None, claimed=False, body=None):

View File

@ -26,7 +26,7 @@ from zaqar.storage.sqlalchemy import controllers
from zaqar.storage.sqlalchemy import tables
from zaqar.storage.sqlalchemy import utils
from zaqar import tests as testing
from zaqar.tests.queues.storage import base
from zaqar.tests.unit.storage import base
class SqlalchemyTableTests(testing.TestBase):

View File

@ -14,8 +14,8 @@
import falcon
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.queues.transport.wsgi import v1
from zaqar.tests.unit.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import v1
# --------------------------------------------------------------------------

View File

@ -17,8 +17,8 @@ import ddt
import falcon
from zaqar.openstack.common import jsonutils
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.queues.transport.wsgi import v1_1
from zaqar.tests.unit.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import v1_1
# --------------------------------------------------------------------------
# Identical or just minor variations across versions

View File

@ -15,7 +15,7 @@
# TODO(kgriffs): Consider consolidating all of these tests into a
# single module.
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
TestBase = base.TestBase
TestBaseFaulty = base.TestBaseFaulty

View File

@ -12,15 +12,15 @@
# License for the specific language governing permissions and limitations under
# the License.
from zaqar.tests.queues.transport.wsgi.v1 import test_auth
from zaqar.tests.queues.transport.wsgi.v1 import test_claims
from zaqar.tests.queues.transport.wsgi.v1 import test_default_limits
from zaqar.tests.queues.transport.wsgi.v1 import test_home
from zaqar.tests.queues.transport.wsgi.v1 import test_media_type
from zaqar.tests.queues.transport.wsgi.v1 import test_messages
from zaqar.tests.queues.transport.wsgi.v1 import test_pools
from zaqar.tests.queues.transport.wsgi.v1 import test_queue_lifecycle as l
from zaqar.tests.queues.transport.wsgi.v1 import test_validation
from zaqar.tests.unit.transport.wsgi.v1 import test_auth
from zaqar.tests.unit.transport.wsgi.v1 import test_claims
from zaqar.tests.unit.transport.wsgi.v1 import test_default_limits
from zaqar.tests.unit.transport.wsgi.v1 import test_home
from zaqar.tests.unit.transport.wsgi.v1 import test_media_type
from zaqar.tests.unit.transport.wsgi.v1 import test_messages
from zaqar.tests.unit.transport.wsgi.v1 import test_pools
from zaqar.tests.unit.transport.wsgi.v1 import test_queue_lifecycle as l
from zaqar.tests.unit.transport.wsgi.v1 import test_validation
TestAuth = test_auth.TestAuth
TestClaimsFaultyDriver = test_claims.TestClaimsFaultyDriver

View File

@ -20,7 +20,7 @@ import falcon
from falcon import testing
from keystonemiddleware import auth_token
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
class TestAuth(base.V1Base):

View File

@ -24,7 +24,7 @@ from testtools import matchers
from zaqar.openstack.common import jsonutils
from zaqar import tests as testing
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
@ddt.ddt

View File

@ -20,7 +20,7 @@ import falcon
from zaqar.openstack.common import jsonutils
from zaqar import storage
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
class TestDefaultLimits(base.V1Base):

View File

@ -16,7 +16,7 @@ import falcon
import six.moves.urllib.parse as urlparse
from zaqar.openstack.common import jsonutils
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
class TestHomeDocument(base.V1Base):

View File

@ -19,7 +19,7 @@ import falcon
from falcon import testing
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
class TestMediaType(base.V1Base):

View File

@ -25,7 +25,7 @@ from testtools import matchers
from zaqar.openstack.common import jsonutils
from zaqar import tests as testing
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
from zaqar.transport import validation

View File

@ -20,7 +20,7 @@ import falcon
from zaqar.openstack.common import jsonutils
from zaqar import tests as testing
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
@contextlib.contextmanager

View File

@ -18,7 +18,7 @@ import six
from zaqar.openstack.common import jsonutils
from zaqar import tests as testing
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
@ddt.ddt

View File

@ -18,7 +18,7 @@ import uuid
import falcon
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
class TestValidation(base.V1Base):

View File

@ -12,17 +12,17 @@
# License for the specific language governing permissions and limitations under
# the License.
from zaqar.tests.queues.transport.wsgi.v1_1 import test_auth
from zaqar.tests.queues.transport.wsgi.v1_1 import test_claims
from zaqar.tests.queues.transport.wsgi.v1_1 import test_default_limits
from zaqar.tests.queues.transport.wsgi.v1_1 import test_flavors
from zaqar.tests.queues.transport.wsgi.v1_1 import test_health
from zaqar.tests.queues.transport.wsgi.v1_1 import test_home
from zaqar.tests.queues.transport.wsgi.v1_1 import test_media_type
from zaqar.tests.queues.transport.wsgi.v1_1 import test_messages
from zaqar.tests.queues.transport.wsgi.v1_1 import test_pools
from zaqar.tests.queues.transport.wsgi.v1_1 import test_queue_lifecycle as l
from zaqar.tests.queues.transport.wsgi.v1_1 import test_validation
from zaqar.tests.unit.transport.wsgi.v1_1 import test_auth
from zaqar.tests.unit.transport.wsgi.v1_1 import test_claims
from zaqar.tests.unit.transport.wsgi.v1_1 import test_default_limits
from zaqar.tests.unit.transport.wsgi.v1_1 import test_flavors
from zaqar.tests.unit.transport.wsgi.v1_1 import test_health
from zaqar.tests.unit.transport.wsgi.v1_1 import test_home
from zaqar.tests.unit.transport.wsgi.v1_1 import test_media_type
from zaqar.tests.unit.transport.wsgi.v1_1 import test_messages
from zaqar.tests.unit.transport.wsgi.v1_1 import test_pools
from zaqar.tests.unit.transport.wsgi.v1_1 import test_queue_lifecycle as l
from zaqar.tests.unit.transport.wsgi.v1_1 import test_validation
TestAuth = test_auth.TestAuth
TestClaimsFaultyDriver = test_claims.TestClaimsFaultyDriver

View File

@ -20,7 +20,7 @@ import falcon
from falcon import testing
from keystonemiddleware import auth_token
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
class TestAuth(base.V1_1Base):

View File

@ -25,7 +25,7 @@ from testtools import matchers
from zaqar.openstack.common import jsonutils
from zaqar import tests as testing
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
@ddt.ddt

View File

@ -20,7 +20,7 @@ import falcon
from zaqar.openstack.common import jsonutils
from zaqar import storage
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
class TestDefaultLimits(base.V1_1Base):

View File

@ -20,7 +20,7 @@ import falcon
from zaqar.openstack.common import jsonutils
from zaqar import tests as testing
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
@contextlib.contextmanager

View File

@ -22,7 +22,7 @@ from zaqar.openstack.common import jsonutils
from zaqar.storage import errors
import zaqar.storage.mongodb as mongo
from zaqar import tests as testing
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
@ddt.ddt

View File

@ -18,7 +18,7 @@ import falcon
import six.moves.urllib.parse as urlparse
from zaqar.openstack.common import jsonutils
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
class TestHomeDocument(base.V1_1Base):

View File

@ -18,7 +18,7 @@ import uuid
import falcon
from falcon import testing
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
class TestMediaType(base.V1_1Base):

View File

@ -25,7 +25,7 @@ from testtools import matchers
from zaqar.openstack.common import jsonutils
from zaqar import tests as testing
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
from zaqar.transport import validation

View File

@ -20,7 +20,7 @@ import falcon
from zaqar.openstack.common import jsonutils
from zaqar import tests as testing
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
@contextlib.contextmanager

View File

@ -20,7 +20,7 @@ import six
from zaqar.openstack.common import jsonutils
from zaqar import tests as testing
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
@ddt.ddt

View File

@ -18,7 +18,7 @@ import uuid
import falcon
from zaqar.tests.queues.transport.wsgi import base
from zaqar.tests.unit.transport.wsgi import base
class TestValidation(base.V1_1Base):