feat: align source data and nightly exports
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
from dataclasses import asdict
|
||||
|
||||
from apps.parsers import tasks
|
||||
from apps.parsers.clients.common.structured import MAX_FILE_SIZE_BYTES
|
||||
from apps.parsers.source_registry import PARSER_SOURCES
|
||||
@@ -40,3 +42,14 @@ class ParserSourceRegistryFNSTest(SimpleTestCase):
|
||||
TASKS_BY_NAME[source.task_name],
|
||||
tasks.sync_fns_financial_reports,
|
||||
)
|
||||
|
||||
|
||||
class ParserSourceRegistryPresentationTest(SimpleTestCase):
|
||||
def test_public_source_metadata_does_not_name_external_provider(self):
|
||||
public_metadata = " ".join(
|
||||
str(value)
|
||||
for descriptor in PARSER_SOURCES.values()
|
||||
for value in asdict(descriptor).values()
|
||||
)
|
||||
|
||||
self.assertNotIn("checko", public_metadata.lower())
|
||||
|
||||
Reference in New Issue
Block a user