File: test_servicebus_eventhub.test_send_event.yaml

package info (click to toggle)
python-azure 20181112%2Bgit-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 407,300 kB
  • sloc: python: 717,190; makefile: 201; sh: 76
file content (96 lines) | stat: -rw-r--r-- 4,638 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
interactions:
- request:
    body: !!binary |
      PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiIHN0YW5kYWxvbmU9InllcyI/Pjxl
      bnRyeSB4bWxuczpkPSJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL2Fkby8yMDA3LzA4L2Rh
      dGFzZXJ2aWNlcyIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS9hZG8vMjAw
      Ny8wOC9kYXRhc2VydmljZXMvbWV0YWRhdGEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDA1
      L0F0b20iPjx0aXRsZT48L3RpdGxlPjx1cGRhdGVkPjIwMTUtMDYtMzBUMjE6NDI6NTMuMTU2OTc5
      KzAwOjAwPC91cGRhdGVkPjxhdXRob3I+PG5hbWU+PC9uYW1lPjwvYXV0aG9yPjxpZD48L2lkPjxj
      b250ZW50IHR5cGU9ImFwcGxpY2F0aW9uL3htbCI+PEV2ZW50SHViRGVzY3JpcHRpb24geG1sbnM6
      aT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zPSJodHRw
      Oi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL25ldHNlcnZpY2VzLzIwMTAvMTAvc2VydmljZWJ1cy9j
      b25uZWN0Ij48L0V2ZW50SHViRGVzY3JpcHRpb24+PC9jb250ZW50PjwvZW50cnk+
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['561']
      Content-Type: [application/atom+xml;type=entry;charset=utf-8]
      User-Agent: [pyazure/0.20.0]
    method: PUT
    uri: https://fakehubnamespace.servicebus.windows.net/uthub55e01093?api-version=2014-01
  response:
    body: {string: '<entry xmlns="http://www.w3.org/2005/Atom"><id>https://fakehubnamespace.servicebus.windows.net/uthub55e01093?api-version=2014-01</id><title
        type="text">uthub55e01093</title><published>2015-06-30T21:42:55Z</published><updated>2015-06-30T21:42:56Z</updated><author><name>fakehubnamespace</name></author><link
        rel="self" href="https://fakehubnamespace.servicebus.windows.net/uthub55e01093?api-version=2014-01"/><content
        type="application/xml"><EventHubDescription xmlns="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect"
        xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><MessageRetentionInDays>7</MessageRetentionInDays><AuthorizationRules></AuthorizationRules><Status>Active</Status><CreatedAt>2015-06-30T21:42:55.187</CreatedAt><UpdatedAt>2015-06-30T21:42:56.313</UpdatedAt><PartitionCount>4</PartitionCount><PartitionIds
        xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d2p1:string>0</d2p1:string><d2p1:string>1</d2p1:string><d2p1:string>2</d2p1:string><d2p1:string>3</d2p1:string></PartitionIds></EventHubDescription></content></entry>'}
    headers:
      Content-Type: [application/atom+xml;type=entry;charset=utf-8]
      Date: ['Tue, 30 Jun 2015 21:42:55 GMT']
      Server: [Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
    status: {code: 201, message: Created}
- request:
    body: !!binary |
      aGVsbG8gd29ybGQ=
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['11']
      Content-Type: [application/atom+xml;type=entry;charset=utf-8]
      User-Agent: [pyazure/0.20.0]
    method: POST
    uri: https://fakehubnamespace.servicebus.windows.net/uthub55e01093/messages?api-version=2014-01
  response:
    body: {string: ''}
    headers:
      Content-Type: [application/xml; charset=utf-8]
      Date: ['Tue, 30 Jun 2015 21:42:56 GMT']
      Server: [Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
    status: {code: 201, message: Created}
- request:
    body: !!binary |
      d2FrZSB1cCB3b3JsZA==
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['13']
      Content-Type: [application/atom+xml;type=entry;charset=utf-8]
      User-Agent: [pyazure/0.20.0]
    method: POST
    uri: https://fakehubnamespace.servicebus.windows.net/uthub55e01093/messages?api-version=2014-01
  response:
    body: {string: ''}
    headers:
      Content-Type: [application/xml; charset=utf-8]
      Date: ['Tue, 30 Jun 2015 21:42:56 GMT']
      Server: [Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
    status: {code: 201, message: Created}
- request:
    body: !!binary |
      Z29vZGJ5ZSE=
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Connection: [keep-alive]
      Content-Length: ['8']
      Content-Type: [application/atom+xml;type=entry;charset=utf-8]
      User-Agent: [pyazure/0.20.0]
    method: POST
    uri: https://fakehubnamespace.servicebus.windows.net/uthub55e01093/messages?api-version=2014-01
  response:
    body: {string: ''}
    headers:
      Content-Type: [application/xml; charset=utf-8]
      Date: ['Tue, 30 Jun 2015 21:42:57 GMT']
      Server: [Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
    status: {code: 201, message: Created}
version: 1