feat: enrich saved leasing events with bounded Fedresurs details
All checks were successful
Mostovik Backend CI/CD / Tests and lint (push) Successful in 3m26s
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Successful in 3m28s
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been skipped
Mostovik Backend CI/CD / Deploy dev (push) Successful in 2m3s
All checks were successful
Mostovik Backend CI/CD / Tests and lint (push) Successful in 3m26s
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Successful in 3m28s
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been skipped
Mostovik Backend CI/CD / Deploy dev (push) Successful in 2m3s
This commit is contained in:
@@ -149,6 +149,16 @@ def _canonical_records():
|
||||
else client_with(message_page, fixture("messages-page-2.json"))
|
||||
)
|
||||
row = next(collect_checko_section(client, organization=fssp_org, source=source))
|
||||
if source == "checko_leasing":
|
||||
from apps.parsers.leasing_details import parse_leasing_html
|
||||
|
||||
from tests.apps.parsers.test_leasing_details import URL, page
|
||||
|
||||
row.payload["lease_details"] = parse_leasing_html(page(), url=URL)
|
||||
row.payload["lease_details_status"] = {
|
||||
"status": "loaded",
|
||||
"checked_at": timezone.now().isoformat(),
|
||||
}
|
||||
row.payload["upstream"]["future_nested"] = {
|
||||
"keep": [None, False, 0, {"unknown": "0007"}]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user