Beispiel #1
0
    def setUpClass(cls):
        """Create Queue, Post Messages for Claim Tests."""
        cls.cfg = config.Config()
        cls.header = helpers.create_marconi_headers()

        cls.headers_response_with_body = set(['location',
                                              'content-type'])
Beispiel #2
0
    def setUpClass(cls):
        cls.cfg = config.Config()
        cls.header = helpers.create_marconi_headers()

        cls.headers_response_empty = set(['location'])
        cls.headers_response_with_body = set(['content-location',
                                              'content-type'])
Beispiel #3
0
    def setUpClass(cls):
        cls.cfg = config.Config()
        cls.header = helpers.create_marconi_headers()

        cls.headers_response_empty = set(['location'])
        cls.headers_response_with_body = set(['content-location',
                                              'content-type'])

        cls.queue_url = cls.cfg.base_url + '/queues/{}'.format(uuid.uuid1())
        http.put(cls.queue_url, cls.header)

        url = cls.queue_url + '/metadata'
        metadata = {"queue_metadata": "TEST METADATA"}
        http.put(url, cls.header, json.dumps(metadata))
Beispiel #4
0
    def setUpClass(cls):
        """Create Queue, Post Messages for Claim Tests."""
        cls.cfg = config.Config()
        cls.header = helpers.create_marconi_headers()

        cls.headers_response_with_body = set(['location', 'content-type'])