Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Test refactoring1 #326

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
f478422
.gitignore
kakann Aug 30, 2022
d88aafd
added python action for automatic testing
kakann Aug 30, 2022
00b775a
changed unittest to unittest2
kakann Aug 30, 2022
de68dc9
removed extra flake8
kakann Aug 30, 2022
a53eb9b
created a requirements file
dakaza98 Aug 31, 2022
f9df9a0
migrate things to python 3
dakaza98 Aug 31, 2022
1d8140a
Merge pull request #1 from kakann/fix/python3-fixes
ghmo2789 Sep 1, 2022
fbee832
refactored some files
ghmo2789 Sep 2, 2022
d6f1a4e
moved tests for arfour, ascii85 and lzw
kakann Sep 2, 2022
495255f
Reformatet the files according to pep8
ghmo2789 Sep 3, 2022
c177f18
Add macOS created files in gitignore
ghmo2789 Sep 3, 2022
ee2a2e4
refactored the mapps
ghmo2789 Sep 6, 2022
f53a7f6
Fixed not module found error
ghmo2789 Sep 6, 2022
5f116cf
moved
amermsl92 Sep 6, 2022
32f926a
Autoformatteded half of all files
dakaza98 Sep 6, 2022
a55af9a
moved tests to tests folder Co-authored-by: Danel Arias <DanelArias-D…
dakaza98 Sep 6, 2022
c9a96b1
use argparse in pdf2txt Co-authored-by: Danel Arias <DanelArias-Dre…
dakaza98 Sep 6, 2022
2764d1e
formatted tools folder
dakaza98 Sep 6, 2022
4bb142b
can run test with make file
ghmo2789 Sep 7, 2022
f0a5e8d
Merge branch 'test_refactoring1' of https://github.com/kakann/pdfmine…
ghmo2789 Sep 7, 2022
3eac145
Formatting and fixing flake8 linting errors
DanelArias-Dreyton257 Sep 7, 2022
8e8b0a0
Add actions to all branches
DanelArias-Dreyton257 Sep 7, 2022
4444f10
Adding all branches to github actions
DanelArias-Dreyton257 Sep 7, 2022
7984161
added tests for pdf2txt
dakaza98 Sep 7, 2022
7b06f0e
Restoring the branches
DanelArias-Dreyton257 Sep 7, 2022
0487554
Restoring the branches
DanelArias-Dreyton257 Sep 7, 2022
f7fccc3
new_changes
amermsl92 Sep 7, 2022
8bdc488
Merge pull request #2 from kakann/fix/doubleD
ghmo2789 Sep 8, 2022
a3e7c7e
Merge with reformate_flak8 and solved conflic
ghmo2789 Sep 8, 2022
17e9a5e
Merge branch 'test_refactoring1' of https://github.com/kakann/pdfmine…
ghmo2789 Sep 8, 2022
1e4897d
Solved conflict
ghmo2789 Sep 8, 2022
07353ae
replaced getopt with argparser
ghmo2789 Sep 8, 2022
83529ab
Moved url function from pdf2html into separate module
ghmo2789 Sep 8, 2022
d5da2af
add_documentation
amermsl92 Sep 8, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add_documentation
  • Loading branch information
amermsl92 committed Sep 8, 2022
commit d5da2af0e17cd6317d759f6f40825cc8211aad16
4 changes: 4 additions & 0 deletions tests/test_rijndael.py
Original file line number Diff line number Diff line change
@@ -3,12 +3,16 @@


class MyTestCase(unittest.TestCase):
# test for the decryption function

def test_1(self):
key = bytes.fromhex('00010203050607080a0b0c0d0f101112')
ciphertext = bytes.fromhex('d8f532538289ef7d06b506a4fd5be9c9')
k_1 = RijndaelDecryptor(key, 128).decrypt(ciphertext).hex()
self.assertEqual(k_1, '506812a45f08c889b97f5980038b8359')

# test for the encryption function

def test_2(self):
key = bytes.fromhex('00010203050607080a0b0c0d0f101112')
plaintext = bytes.fromhex('506812a45f08c889b97f5980038b8359')