-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
33faa4b
commit 1ea92f7
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |