Skip to content

Commit

Permalink
Create pycatfilealt_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KazukiPrzyborowski authored Nov 3, 2023
1 parent 33faa4b commit 1ea92f7
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pycatfilealt_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import unittest
from catfilepacker import CatFilePacker # Assuming the script above is named catfilepacker.py
import os

class TestCatFilePacker(unittest.TestCase):
def setUp(self):
self.packer = CatFilePacker(checksum_type='crc32')
self.test_tar_path = 'test.tar'
self.test_catfile_path = 'test.cat'

def test_pack_from_tar(self):
# Implement this test with actual file operations or mocking
pass

def test_create_metadata(self):
# Implement this test with actual member data or mocking
pass

def test_calculate_checksum(self):
# Implement this test with known data and checksums
pass

if __name__ == '__main__':
unittest.main()

0 comments on commit 1ea92f7

Please sign in to comment.