From f20539bf17d3de8e0ab56d834f665eeea4813988 Mon Sep 17 00:00:00 2001 From: Robin Krens Date: Sun, 11 Feb 2024 14:31:50 +0100 Subject: [PATCH] RAPacker: minor directory restructering --- src/RAFlasher.py | 2 +- src/{Packer.py => RAPacker.py} | 0 tests/test_parse.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/{Packer.py => RAPacker.py} (100%) diff --git a/src/RAFlasher.py b/src/RAFlasher.py index 70a6d98..b1a3f6a 100644 --- a/src/RAFlasher.py +++ b/src/RAFlasher.py @@ -1,7 +1,7 @@ import os import math from RAConnect import * -from Packer import * +from RAPacker import * SECTOR_SIZE = 2048 diff --git a/src/Packer.py b/src/RAPacker.py similarity index 100% rename from src/Packer.py rename to src/RAPacker.py diff --git a/tests/test_parse.py b/tests/test_parse.py index c498c28..988b44b 100644 --- a/tests/test_parse.py +++ b/tests/test_parse.py @@ -1,4 +1,4 @@ -from src.Packer import calc_sum, unpack_pkt, pack_pkt +from src.RAPacker import calc_sum, unpack_pkt, pack_pkt import pytest def test_calc_sum(): -- 2.43.0