Skip to content

Commit abb7415

Browse files
author
Memo Ugurbil
committed
fix: pylint
1 parent a8d1e07 commit abb7415

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,4 +159,4 @@ cython_debug/
159159
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
160160
# and can be added to the global gitignore or merged into this file. For a more nuclear
161161
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
162-
#.idea/
162+
.idea/

test/test_nilql.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,18 @@ def test_encrypt_decrypt_for_seed(self):
316316
for cluster in [{'nodes': [{}, {}, {}]}]:
317317
sk = nilql.SecretKey.generate(cluster, {'store': True})
318318

319-
plaintext = "Bart Simpson is a fictional character in the American animated television series The Simpsons who is part of the Simpson family. Described as one of the 100 most important people of the 20th century by Time, Bart was created and designed by Matt Groening in James L. Brooks's office. Bart, alongside the rest of the family, debuted in the short 'Good Night' on The Tracey Ullman Show on April 19, 1987. Two years later, the family received their own series, which premiered on Fox on December 17, 1989. Born on April Fools' Day according to Groening, Bart is ten years old; he is the eldest child and only son of Homer and Marge Simpson, and has two sisters, Lisa and Maggie. Voiced by Nancy Cartwright (pictured), Bart is known for his mischievousness, rebelliousness, and disrespect for authority, as well as his prank calls to Moe, chalkboard gags in the opening sequence, and catchphrases. Bart is considered an iconic fictional television character of the 1990s and has been called an American cultural icon."
319+
plaintext = ("Bart Simpson is a fictional character in the American animated television series The Simpsons"
320+
" who is part of the Simpson family. Described as one of the 100 most important people of the "
321+
"20th century by Time, Bart was created and designed by Matt Groening in James L. Brooks's "
322+
"office. Bart, alongside the rest of the family, debuted in the short 'Good Night' on The "
323+
"Tracey Ullman Show on April 19, 1987. Two years later, the family received their own series, "
324+
"which premiered on Fox on December 17, 1989. Born on April Fools' Day according to Groening, "
325+
"Bart is ten years old; he is the eldest child and only son of Homer and Marge Simpson, and "
326+
"has two sisters, Lisa and Maggie. Voiced by Nancy Cartwright (pictured), Bart is known for "
327+
"his mischievousness, rebelliousness, and disrespect for authority, as well as his prank calls"
328+
" to Moe, chalkboard gags in the opening sequence, and catchphrases. Bart is considered an "
329+
"iconic fictional television character of the 1990s and has been called an American cultural "
330+
"icon.")
320331
e = nilql.encrypt(sk, plaintext)
321332
self.assertEqual((len(e[0]), len(e[1]), len(e[2])), (140, 140, 1408))
322333
decrypted = nilql.decrypt(sk, e)

0 commit comments

Comments
 (0)