mirror of
https://github.com/Leseratte10/acsm-calibre-plugin
synced 2025-01-18 10:26:34 +01:00
Remove test for Wine registry code
This commit is contained in:
parent
8e53929d94
commit
bf4b6367bf
1 changed files with 0 additions and 8 deletions
|
@ -25,7 +25,6 @@ except ImportError:
|
||||||
import libadobe # type: ignore
|
import libadobe # type: ignore
|
||||||
import libadobeAccount # type: ignore
|
import libadobeAccount # type: ignore
|
||||||
import libadobeFulfill # type: ignore
|
import libadobeFulfill # type: ignore
|
||||||
from getEncryptionKeyLinux import unfuck as fix_wine_username # type: ignore
|
|
||||||
from libpdf import trim_encrypt_string, cleanup_encrypt_element, deflate_and_base64_encode # type: ignore
|
from libpdf import trim_encrypt_string, cleanup_encrypt_element, deflate_and_base64_encode # type: ignore
|
||||||
from customRSA import CustomRSA # type: ignore
|
from customRSA import CustomRSA # type: ignore
|
||||||
|
|
||||||
|
@ -337,13 +336,6 @@ class TestOther(unittest.TestCase):
|
||||||
def forcefail(self):
|
def forcefail(self):
|
||||||
self.assertEqual(1, 2, "force fail")
|
self.assertEqual(1, 2, "force fail")
|
||||||
|
|
||||||
@unittest.skipIf(os.name == "nt", "not testing wine on Windows")
|
|
||||||
def test_wineUsernameEscaping(self):
|
|
||||||
'''Check if Wine username decoder is working properly'''
|
|
||||||
|
|
||||||
self.assertEqual(fix_wine_username(r'"1234"'), b'1234', "Wine username mismatch")
|
|
||||||
self.assertEqual(fix_wine_username(r'"a\x00e931"'), b'a\xe931', "Wine username mismatch with UTF-8")
|
|
||||||
|
|
||||||
def test_pdf_trimEncrypt(self):
|
def test_pdf_trimEncrypt(self):
|
||||||
'''Check if PDF encryption string trimming code is working properly'''
|
'''Check if PDF encryption string trimming code is working properly'''
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue