perf(organizations): speed up filtered API lists
This commit is contained in:
@@ -99,6 +99,10 @@ class OrganizationDataSnapshotRefreshServiceTest(TestCase):
|
||||
snapshot.data["industrial"][0]["certificate_number"],
|
||||
"SNAPSHOT-BATCH-CERT",
|
||||
)
|
||||
self.assertEqual(
|
||||
snapshot.data_source_counts,
|
||||
[{"source": "industrial", "count": 1}],
|
||||
)
|
||||
|
||||
def test_refresh_for_fns_batch_matches_by_ogrn(self):
|
||||
organization = Organization.objects.create(
|
||||
|
||||
Reference in New Issue
Block a user