From 03fa633be0a90c07a7c1a3da5773ed44edd91ee3 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 24 Jan 2024 16:43:05 +0100 Subject: [PATCH] test and fix all examples --- examples/cfdp-libre-cube-crosstest/common.py | 2 +- examples/cfdp-libre-cube-crosstest/tmtccmd-client.py | 12 ++++++------ examples/cfdp-simple/file-copy-example.py | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/examples/cfdp-libre-cube-crosstest/common.py b/examples/cfdp-libre-cube-crosstest/common.py index df6b03a..d1e462e 100755 --- a/examples/cfdp-libre-cube-crosstest/common.py +++ b/examples/cfdp-libre-cube-crosstest/common.py @@ -1,6 +1,6 @@ from spacepackets.cfdp import TransmissionMode, ChecksumType from spacepackets.util import ByteFieldU16 -from cfdpy.mib import RemoteEntityCfg +from cfdppy.mib import RemoteEntityCfg SOURCE_ENTITY_ID = 2 REMOTE_ENTITY_ID = 3 diff --git a/examples/cfdp-libre-cube-crosstest/tmtccmd-client.py b/examples/cfdp-libre-cube-crosstest/tmtccmd-client.py index 99e9ce1..677192d 100755 --- a/examples/cfdp-libre-cube-crosstest/tmtccmd-client.py +++ b/examples/cfdp-libre-cube-crosstest/tmtccmd-client.py @@ -15,10 +15,10 @@ from queue import Empty from typing import Any -from cfdpy import CfdpState -from cfdpy.exceptions import InvalidSourceId -from cfdpy.handler import SourceHandler -from cfdpy.mib import ( +from cfdppy import CfdpState +from cfdppy.exceptions import InvalidSourceId +from cfdppy.handler import SourceHandler +from cfdppy.mib import ( CheckTimerProvider, DefaultFaultHandlerBase, EntityType, @@ -26,8 +26,8 @@ LocalEntityCfg, RemoteEntityCfgTable, ) -from cfdpy.request import PutRequest -from cfdpy.user import ( +from cfdppy.request import PutRequest +from cfdppy.user import ( CfdpUserBase, FileSegmentRecvdParams, MetadataRecvParams, diff --git a/examples/cfdp-simple/file-copy-example.py b/examples/cfdp-simple/file-copy-example.py index c8558a0..7446359 100755 --- a/examples/cfdp-simple/file-copy-example.py +++ b/examples/cfdp-simple/file-copy-example.py @@ -20,10 +20,10 @@ from spacepackets.cfdp.pdu import AbstractFileDirectiveBase from spacepackets.util import ByteFieldU16, UnsignedByteField -from cfdpy import CfdpState -from cfdpy.handler.dest import DestHandler -from cfdpy.handler.source import SourceHandler -from cfdpy.mib import ( +from cfdppy import CfdpState +from cfdppy.handler.dest import DestHandler +from cfdppy.handler.source import SourceHandler +from cfdppy.mib import ( CheckTimerProvider, DefaultFaultHandlerBase, EntityType, @@ -32,8 +32,8 @@ RemoteEntityCfg, RemoteEntityCfgTable, ) -from cfdpy.request import PutRequest -from cfdpy.user import ( +from cfdppy.request import PutRequest +from cfdppy.user import ( CfdpUserBase, FileSegmentRecvdParams, MetadataRecvParams,