Skip to content
Snippets Groups Projects
Commit 696b39c0 authored by Janet Goldstein's avatar Janet Goldstein Committed by Daniel Lyons
Browse files

WS-507: utility_classes => utilities and type (built-in) => sp_type

parent cf719234
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !313. Comments created here will be created in the context of that merge request.
......@@ -2,7 +2,7 @@
from pathlib import Path
from .utility_classes import (
from .utilities import (
Telescope,
ScienceProduct,
)
......
......@@ -61,8 +61,8 @@ class ScienceProductType(Enum):
class ScienceProduct:
"""Represents a science product in an ingestion manifest"""
def __init__(self, type: ScienceProductType, filename: str, locator: str, group_with: str):
self.type = type
def __init__(self, sp_type: ScienceProductType, filename: str, locator: str, group_with: str):
self.sp_type = sp_type
self.filename = filename
# product locator, used for input groups; locator for a known science product
self.locator = locator
......
......@@ -5,7 +5,7 @@ import pytest
from ..ingest_envoy.ingestion_manifest import Parameters
from ..ingest_envoy.ingestion_manifest_builder import IngestionManifestBuilder
from apps.cli.executables.pexable.ingest_envoy.ingest_envoy.utility_classes import Telescope
from apps.cli.executables.pexable.ingest_envoy.ingest_envoy.utilities import Telescope
@pytest.mark.skip("TODO: test_builds_evla_sdm_manifest")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment