Skip to content

Commit 644c6b2

Browse files
committed
Update vcr cassetes
1 parent 8b1889e commit 644c6b2

89 files changed

Lines changed: 13904 additions & 469015 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ __pycache__/
66
/tests/settings/certs/
77
/build/
88
importer_result.json
9+
uv.lock

pyproject.toml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
[dependency-groups]
2+
dev = [
3+
"ansible-core",
4+
"ansible-runner>=2.4.3",
5+
"flake8>=7.3.0",
6+
"pulp-glue>=0.29.2,<0.40",
7+
"pulp-glue-deb>=0.3.0,<0.5",
8+
"pycodestyle>=2.14.0",
9+
"pylint>=4.0.6",
10+
"pytest>=4.4.0",
11+
"pytest-xdist>=3.8.0",
12+
"vcrpy",
13+
"voluptuous>=0.16.0",
14+
]
15+
116
[tool.black]
217
line-length = 100
318

@@ -18,8 +33,8 @@ serialize = [
1833
[tool.bumpversion.parts.release]
1934
optional_value = "prod"
2035
values = [
21-
"dev",
22-
"prod",
36+
"dev",
37+
"prod",
2338
]
2439

2540
[[tool.bumpversion.files]]

tests/fixtures/deb_package-0.yml

Lines changed: 466 additions & 75670 deletions
Large diffs are not rendered by default.

tests/fixtures/deb_package-1.yml

Lines changed: 150 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -1,103 +1,150 @@
1-
interactions:
2-
- request:
3-
body: null
4-
headers:
5-
? !!python/object/apply:multidict._multidict.istr
6-
- Accept
7-
: - application/json
8-
Accept-Encoding:
9-
- gzip, deflate, zstd
10-
Connection:
11-
- keep-alive
12-
? !!python/object/apply:multidict._multidict.istr
13-
- User-Agent
14-
: - Squeezer/0.5.0-dev
15-
method: GET
16-
uri: http://pulp.example.org/pulp/api/v3/repositories/deb/apt/?name=test_deb_repository&offset=0&limit=1
17-
response:
18-
body:
19-
string: '{"count":1,"next":null,"previous":null,"results":[{"pulp_href":"/pulp/api/v3/repositories/deb/apt/019eb35f-17ba-708e-b988-38a74aba420b/","prn":"prn:deb.aptrepository:019eb35f-17ba-708e-b988-38a74aba420b","pulp_created":"2026-06-10T21:10:14.203257Z","pulp_last_updated":"2026-06-10T21:10:24.221402Z","versions_href":"/pulp/api/v3/repositories/deb/apt/019eb35f-17ba-708e-b988-38a74aba420b/versions/","pulp_labels":{},"latest_version_href":"/pulp/api/v3/repositories/deb/apt/019eb35f-17ba-708e-b988-38a74aba420b/versions/1/","name":"test_deb_repository","description":null,"retain_repo_versions":null,"remote":null,"autopublish":false,"publish_upstream_release_fields":true,"signing_service":null,"signing_service_release_overrides":{}}]}'
20-
headers:
21-
Access-Control-Expose-Headers:
22-
- Correlation-ID
23-
Allow:
24-
- GET, POST, HEAD, OPTIONS
25-
Connection:
26-
- keep-alive
27-
Content-Length:
28-
- '735'
29-
Content-Type:
30-
- application/json
31-
Correlation-ID:
32-
- ec83e8ea56d849059f0743968bff1546
33-
Cross-Origin-Opener-Policy:
34-
- same-origin
35-
Date:
36-
- Wed, 10 Jun 2026 21:10:27 GMT
37-
Referrer-Policy:
38-
- same-origin
39-
Server:
40-
- nginx/1.22.1
41-
Vary:
42-
- Accept
43-
X-Content-Type-Options:
44-
- nosniff
45-
X-Frame-Options:
46-
- DENY
47-
status:
48-
code: 200
49-
message: OK
50-
- request:
51-
body: null
52-
headers:
53-
? !!python/object/apply:multidict._multidict.istr
54-
- Accept
55-
: - application/json
56-
Accept-Encoding:
57-
- gzip, deflate, zstd
58-
Connection:
59-
- keep-alive
60-
? !!python/object/apply:multidict._multidict.istr
61-
- Correlation-Id
62-
: - ec83e8ea56d849059f0743968bff1546
63-
? !!python/object/apply:multidict._multidict.istr
64-
- User-Agent
65-
: - Squeezer/0.5.0-dev
66-
method: GET
67-
uri: http://pulp.example.org/pulp/api/v3/content/deb/packages/?sha256=eb061a19af924d0add800ea5c86546d125f96454b45e60a541c205bdba5f6f6b&repository_version=%2Fpulp%2Fapi%2Fv3%2Frepositories%2Fdeb%2Fapt%2F019eb35f-17ba-708e-b988-38a74aba420b%2Fversions%2F1%2F&offset=0&limit=1
68-
response:
69-
body:
70-
string: '{"count":1,"next":null,"previous":null,"results":[{"pulp_href":"/pulp/api/v3/content/deb/packages/019eb35f-3e94-7214-8036-d77c4dfeba21/","prn":"prn:deb.package:019eb35f-3e94-7214-8036-d77c4dfeba21","pulp_created":"2026-06-10T21:10:24.153728Z","pulp_last_updated":"2026-06-10T21:10:24.153749Z","pulp_labels":{},"vuln_report":null,"artifact":"/pulp/api/v3/artifacts/019eb35f-3dbf-7b1f-ae8f-d456872442cd/","relative_path":"pool/g/geirrodr/geirrodr_1.0_armeb.deb","md5":null,"sha1":null,"sha224":"4e7f5641b0c912087fdc42a99aa3226c984f38dc169f8387e4d36622","sha256":"eb061a19af924d0add800ea5c86546d125f96454b45e60a541c205bdba5f6f6b","sha384":"e44ba9043b39e09f7c086178e0fd51ef6bc61bcd40f6fb80d308b2e6cf025d34167f73906289dc771059813acae432af","sha512":"6adf58df1e40469bac2a7ee2cb170c0aba7eab4ec3596250258b2bb15ab184165d85450d486d0f7ada1552c2bef5b06377049b8894417e8bd92c08f7f8785afc","package":"geirrodr","source":null,"version":"1.0","architecture":"armeb","section":"misc","priority":"optional","origin":null,"tag":null,"bugs":null,"essential":null,"build_essential":null,"installed_size":"9","maintainer":"Equivs
71-
Dummy Package Generator <root@bd208d733cce>","original_maintainer":null,"description":"Geirrodr\n
72-
Geirrodr was a jotunn and the father of the giantesses Gjalp and Greip.","description_md5":null,"homepage":null,"built_using":null,"auto_built_package":null,"multi_arch":"foreign","breaks":null,"conflicts":null,"depends":null,"recommends":null,"suggests":null,"enhances":null,"pre_depends":null,"provides":null,"replaces":null}]}'
73-
headers:
74-
Access-Control-Expose-Headers:
75-
- Correlation-ID
76-
Allow:
77-
- GET, POST, HEAD, OPTIONS
78-
Connection:
79-
- keep-alive
80-
Content-Length:
81-
- '1534'
82-
Content-Type:
83-
- application/json
84-
Correlation-ID:
85-
- ec83e8ea56d849059f0743968bff1546
86-
Cross-Origin-Opener-Policy:
87-
- same-origin
88-
Date:
89-
- Wed, 10 Jun 2026 21:10:27 GMT
90-
Referrer-Policy:
91-
- same-origin
92-
Server:
93-
- nginx/1.22.1
94-
Vary:
95-
- Accept
96-
X-Content-Type-Options:
97-
- nosniff
98-
X-Frame-Options:
99-
- DENY
100-
status:
101-
code: 200
102-
message: OK
103-
version: 1
1+
{
2+
"version": 1,
3+
"interactions": [
4+
{
5+
"request": {
6+
"method": "GET",
7+
"uri": "http://pulp.example.org/pulp/api/v3/repositories/deb/apt/?name=test_deb_repository&offset=0&limit=1",
8+
"body": null,
9+
"headers": {
10+
"User-Agent": [
11+
"Squeezer/0.5.0-dev"
12+
],
13+
"Accept-Encoding": [
14+
"gzip, deflate, zstd"
15+
],
16+
"Accept": [
17+
"application/json"
18+
],
19+
"Connection": [
20+
"keep-alive"
21+
]
22+
}
23+
},
24+
"response": {
25+
"status": {
26+
"code": 200,
27+
"message": "OK"
28+
},
29+
"headers": {
30+
"Allow": [
31+
"GET, POST, HEAD, OPTIONS"
32+
],
33+
"Vary": [
34+
"Accept"
35+
],
36+
"Date": [
37+
"Mon, 24 Aug 2026 09:43:45 GMT"
38+
],
39+
"Server": [
40+
"nginx/1.22.1"
41+
],
42+
"X-Frame-Options": [
43+
"DENY"
44+
],
45+
"Correlation-ID": [
46+
"f0033d465d754c8db2124641ee84e2d6"
47+
],
48+
"Content-Length": [
49+
"761"
50+
],
51+
"Referrer-Policy": [
52+
"same-origin"
53+
],
54+
"Connection": [
55+
"keep-alive"
56+
],
57+
"Content-Type": [
58+
"application/json"
59+
],
60+
"Access-Control-Expose-Headers": [
61+
"Correlation-ID"
62+
],
63+
"X-Content-Type-Options": [
64+
"nosniff"
65+
],
66+
"Cross-Origin-Opener-Policy": [
67+
"same-origin"
68+
]
69+
},
70+
"body": {
71+
"string": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"pulp_href\":\"/pulp/api/v3/repositories/deb/apt/01a03327-77ef-781e-ab4f-f14918444a6d/\",\"prn\":\"prn:deb.aptrepository:01a03327-77ef-781e-ab4f-f14918444a6d\",\"pulp_created\":\"2026-08-24T09:43:39.769759Z\",\"pulp_last_updated\":\"2026-08-24T09:43:43.914882Z\",\"versions_href\":\"/pulp/api/v3/repositories/deb/apt/01a03327-77ef-781e-ab4f-f14918444a6d/versions/\",\"pulp_labels\":{},\"latest_version_href\":\"/pulp/api/v3/repositories/deb/apt/01a03327-77ef-781e-ab4f-f14918444a6d/versions/1/\",\"name\":\"test_deb_repository\",\"description\":null,\"retain_repo_versions\":null,\"retain_checkpoints\":null,\"remote\":null,\"autopublish\":false,\"publish_upstream_release_fields\":true,\"signing_service\":null,\"signing_service_release_overrides\":{}}]}"
72+
}
73+
}
74+
},
75+
{
76+
"request": {
77+
"method": "GET",
78+
"uri": "http://pulp.example.org/pulp/api/v3/content/deb/packages/?sha256=eb061a19af924d0add800ea5c86546d125f96454b45e60a541c205bdba5f6f6b&repository_version=%2Fpulp%2Fapi%2Fv3%2Frepositories%2Fdeb%2Fapt%2F01a03327-77ef-781e-ab4f-f14918444a6d%2Fversions%2F1%2F&offset=0&limit=1",
79+
"body": null,
80+
"headers": {
81+
"User-Agent": [
82+
"Squeezer/0.5.0-dev"
83+
],
84+
"Accept-Encoding": [
85+
"gzip, deflate, zstd"
86+
],
87+
"Accept": [
88+
"application/json"
89+
],
90+
"Connection": [
91+
"keep-alive"
92+
],
93+
"Correlation-Id": [
94+
"f0033d465d754c8db2124641ee84e2d6"
95+
]
96+
}
97+
},
98+
"response": {
99+
"status": {
100+
"code": 200,
101+
"message": "OK"
102+
},
103+
"headers": {
104+
"Allow": [
105+
"GET, POST, HEAD, OPTIONS"
106+
],
107+
"Vary": [
108+
"Accept"
109+
],
110+
"Date": [
111+
"Mon, 24 Aug 2026 09:43:45 GMT"
112+
],
113+
"Server": [
114+
"nginx/1.22.1"
115+
],
116+
"X-Frame-Options": [
117+
"DENY"
118+
],
119+
"Correlation-ID": [
120+
"f0033d465d754c8db2124641ee84e2d6"
121+
],
122+
"Content-Length": [
123+
"1534"
124+
],
125+
"Referrer-Policy": [
126+
"same-origin"
127+
],
128+
"Connection": [
129+
"keep-alive"
130+
],
131+
"Content-Type": [
132+
"application/json"
133+
],
134+
"Access-Control-Expose-Headers": [
135+
"Correlation-ID"
136+
],
137+
"X-Content-Type-Options": [
138+
"nosniff"
139+
],
140+
"Cross-Origin-Opener-Policy": [
141+
"same-origin"
142+
]
143+
},
144+
"body": {
145+
"string": "{\"count\":1,\"next\":null,\"previous\":null,\"results\":[{\"pulp_href\":\"/pulp/api/v3/content/deb/packages/01a03327-87ef-78a5-a0ca-c2178d452f3c/\",\"prn\":\"prn:deb.package:01a03327-87ef-78a5-a0ca-c2178d452f3c\",\"pulp_created\":\"2026-08-24T09:43:43.855716Z\",\"pulp_last_updated\":\"2026-08-24T09:43:43.855730Z\",\"pulp_labels\":{},\"vuln_report\":null,\"artifact\":\"/pulp/api/v3/artifacts/01a03327-8754-772b-9c59-8f0c9f7afc71/\",\"relative_path\":\"pool/g/geirrodr/geirrodr_1.0_armeb.deb\",\"md5\":null,\"sha1\":null,\"sha224\":\"4e7f5641b0c912087fdc42a99aa3226c984f38dc169f8387e4d36622\",\"sha256\":\"eb061a19af924d0add800ea5c86546d125f96454b45e60a541c205bdba5f6f6b\",\"sha384\":\"e44ba9043b39e09f7c086178e0fd51ef6bc61bcd40f6fb80d308b2e6cf025d34167f73906289dc771059813acae432af\",\"sha512\":\"6adf58df1e40469bac2a7ee2cb170c0aba7eab4ec3596250258b2bb15ab184165d85450d486d0f7ada1552c2bef5b06377049b8894417e8bd92c08f7f8785afc\",\"package\":\"geirrodr\",\"source\":null,\"version\":\"1.0\",\"architecture\":\"armeb\",\"section\":\"misc\",\"priority\":\"optional\",\"origin\":null,\"tag\":null,\"bugs\":null,\"essential\":null,\"build_essential\":null,\"installed_size\":\"9\",\"maintainer\":\"Equivs Dummy Package Generator <root@bd208d733cce>\",\"original_maintainer\":null,\"description\":\"Geirrodr\\n Geirrodr was a jotunn and the father of the giantesses Gjalp and Greip.\",\"description_md5\":null,\"homepage\":null,\"built_using\":null,\"auto_built_package\":null,\"multi_arch\":\"foreign\",\"breaks\":null,\"conflicts\":null,\"depends\":null,\"recommends\":null,\"suggests\":null,\"enhances\":null,\"pre_depends\":null,\"provides\":null,\"replaces\":null}]}"
146+
}
147+
}
148+
}
149+
]
150+
}

0 commit comments

Comments
 (0)