Skip to content

Commit ecee063

Browse files
committed
add missing cassette files
1 parent fa9ee61 commit ecee063

File tree

3 files changed

+105
-0
lines changed

3 files changed

+105
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
interactions:
2+
- request:
3+
body: null
4+
headers:
5+
Accept:
6+
- '*/*'
7+
Accept-Encoding:
8+
- gzip, deflate
9+
Authorization:
10+
- Basic YWRtaW46dGVzdA==
11+
Connection:
12+
- keep-alive
13+
User-Agent:
14+
- python-requests/2.32.3
15+
method: GET
16+
uri: http://localhost:8090/flowable-work/external-job-api/jobs
17+
response:
18+
body:
19+
string: ''
20+
headers:
21+
Cache-Control:
22+
- no-cache, no-store, max-age=0, must-revalidate
23+
Connection:
24+
- keep-alive
25+
Content-Length:
26+
- '0'
27+
Date:
28+
- Mon, 02 Dec 2024 11:00:20 GMT
29+
Expires:
30+
- '0'
31+
Keep-Alive:
32+
- timeout=60
33+
Pragma:
34+
- no-cache
35+
Set-Cookie:
36+
- XSRF-TOKEN=09b7760d-55de-4ad0-a3ff-2f16cbdb4f4a; Path=/
37+
- JSESSIONID=EA0645EF688955015C4EAFE8A1AF9C9D; Path=/; HttpOnly
38+
Vary:
39+
- Origin
40+
- Access-Control-Request-Method
41+
- Access-Control-Request-Headers
42+
X-Content-Type-Options:
43+
- nosniff
44+
X-Frame-Options:
45+
- SAMEORIGIN
46+
X-XSS-Protection:
47+
- '0'
48+
status:
49+
code: 404
50+
message: ''
51+
version: 1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
interactions:
2+
- request:
3+
body: null
4+
headers:
5+
Accept:
6+
- '*/*'
7+
Accept-Encoding:
8+
- gzip, deflate
9+
Authorization:
10+
- Basic YWRtaW46dGVzdA==
11+
Connection:
12+
- keep-alive
13+
User-Agent:
14+
- python-requests/2.32.3
15+
method: GET
16+
uri: http://localhost:8090/external-job-api/jobs
17+
response:
18+
body:
19+
string: '{"data":[],"total":0,"start":0,"sort":"id","order":"asc","size":0}'
20+
headers:
21+
Cache-Control:
22+
- no-cache, no-store, max-age=0, must-revalidate
23+
Connection:
24+
- keep-alive
25+
Content-Type:
26+
- application/json;charset=UTF-8
27+
Date:
28+
- Mon, 02 Dec 2024 11:00:20 GMT
29+
Expires:
30+
- '0'
31+
Keep-Alive:
32+
- timeout=60
33+
Pragma:
34+
- no-cache
35+
Set-Cookie:
36+
- XSRF-TOKEN=46883e8d-c685-4a4e-8424-06a67551c913; Path=/
37+
Transfer-Encoding:
38+
- chunked
39+
X-Content-Type-Options:
40+
- nosniff
41+
X-Frame-Options:
42+
- SAMEORIGIN
43+
X-XSS-Protection:
44+
- '0'
45+
content-length:
46+
- '66'
47+
vary:
48+
- accept-encoding
49+
status:
50+
code: 200
51+
message: ''
52+
version: 1

external-worker/tests/test_restclient.py

+2
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ def test_job_with_cmmn_terminate(self):
296296

297297
# this test is a bit special since it requires a context path.
298298
# without context path this test will also succeed with a trailing slash
299+
@my_vcr.use_cassette
299300
def test_with_trailing_slash_for_url(self):
300301
try:
301302
client = restclient.FlowableExternalWorkerRestClient(
@@ -312,6 +313,7 @@ def test_with_trailing_slash_for_url(self):
312313

313314
# this test is a bit special since it requires a context path.
314315
# without context path this test will also succeed with a trailing slash
316+
@my_vcr.use_cassette
315317
def test_with_trailing_slash_for_url_with_200_as_result(self):
316318
try:
317319
client = restclient.FlowableExternalWorkerRestClient(

0 commit comments

Comments
 (0)