![Thomas Herve](/assets/img/avatar_default.png)
This fixes various behaviors of the client talking to the v1.1 API, and enables functional tests for queues. Change-Id: Icd30e32a17247790dfd57d6420d67f9140020db6 Closes-Bug: #1446677 Closes-Bug: #1446679
36 lines
1.0 KiB
Python
36 lines
1.0 KiB
Python
# Copyright (c) 2013 Red Hat, Inc.
|
|
#
|
|
# 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 zaqarclient.tests.queues import queues
|
|
from zaqarclient.transport import http
|
|
|
|
|
|
class QueuesV1QueueHttpUnitTest(queues.QueuesV1QueueUnitTest):
|
|
|
|
transport_cls = http.HttpTransport
|
|
url = 'http://127.0.0.1:8888/v1'
|
|
version = 1
|
|
|
|
|
|
class QueuesV1_1QueueHttpUnitTest(queues.QueuesV1_1QueueUnitTest):
|
|
|
|
transport_cls = http.HttpTransport
|
|
url = 'http://127.0.0.1:8888/v1.1'
|
|
version = 1.1
|
|
|
|
def test_queue_exists(self):
|
|
pass
|