feat: complete published registry contracts and gated SRO ingestion
All checks were successful
Mostovik Backend CI/CD / Tests and lint (push) Successful in 3m55s
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Successful in 3m43s
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been skipped
Mostovik Backend CI/CD / Deploy customer main (push) Has been skipped
Mostovik Backend CI/CD / Deploy dev (push) Successful in 1m45s
All checks were successful
Mostovik Backend CI/CD / Tests and lint (push) Successful in 3m55s
Mostovik Backend CI/CD / Build linux/amd64 release images (push) Successful in 3m43s
Mostovik Backend CI/CD / Deploy and verify internal main (push) Has been skipped
Mostovik Backend CI/CD / Deploy customer main (push) Has been skipped
Mostovik Backend CI/CD / Deploy dev (push) Successful in 1m45s
This commit is contained in:
@@ -303,7 +303,7 @@ class RegistrySnapshotTest(TestCase):
|
||||
ParserLoadLog.objects.get().status, ParserLoadLog.Status.FAILED
|
||||
)
|
||||
|
||||
def test_opk_card_list_dashboard_counts_share_scope_while_export_keeps_own(self):
|
||||
def test_card_list_dashboard_and_export_count_all_published_organizations(self):
|
||||
Organization.objects.create(
|
||||
name="Справочная организация",
|
||||
inn="5678901234",
|
||||
@@ -329,9 +329,9 @@ class RegistrySnapshotTest(TestCase):
|
||||
(card.status_code, records.status_code, dashboard.status_code),
|
||||
(200, 200, 200),
|
||||
)
|
||||
self.assertEqual(card.data["data"]["records_count"], 2)
|
||||
self.assertEqual(records.data["meta"]["pagination"]["total_count"], 2)
|
||||
self.assertEqual(dashboard.data["data"]["source_counts"][SME_SOURCE], 2)
|
||||
self.assertEqual(card.data["data"]["records_count"], 3)
|
||||
self.assertEqual(records.data["meta"]["pagination"]["total_count"], 3)
|
||||
self.assertEqual(dashboard.data["data"]["source_counts"][SME_SOURCE], 3)
|
||||
self.assertEqual(
|
||||
_source_group_queryset("government_support", export_year=2026).count(), 3
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user