feat: move report artifacts to OSS storage
This commit is contained in:
@@ -19,7 +19,7 @@ from company_reports.contracts import (
|
||||
)
|
||||
from company_reports.core import build_company_report
|
||||
from company_reports.publishing import (
|
||||
ArtifactToolBuilder,
|
||||
OpenpyxlWorkbookBuilder,
|
||||
AtomicReportPublisher,
|
||||
BuiltWorkbook,
|
||||
PublicationError,
|
||||
@@ -112,14 +112,11 @@ def synthetic_built_workbook(
|
||||
|
||||
|
||||
class CompanyReportPublishingTests(unittest.TestCase):
|
||||
def test_builder_creates_xlsx_without_private_artifact_tool_runtime(self):
|
||||
def test_builder_creates_xlsx_with_openpyxl_only(self):
|
||||
with tempfile.TemporaryDirectory(prefix="company-report-builder-test-") as temp_dir:
|
||||
root = Path(temp_dir)
|
||||
report = workbook_report()
|
||||
builder = ArtifactToolBuilder(
|
||||
Path("/private/artifact-tool/build_workbook.mjs"),
|
||||
node_binary="/definitely/not/node",
|
||||
)
|
||||
builder = OpenpyxlWorkbookBuilder()
|
||||
|
||||
built = builder.build(report, root)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user