cleeeeeeeeen

This commit is contained in:
StasonJatham committed 2026-09-19 14:37:08 +02:00
1 parent d7b33d4d8a
commit 2cc8e1d788
9 files changed
+53 -80

No files matched your search

-21
View File
@@ -1,5 +1,4 @@
import unittest
from time import time
from collectionparser.parser import parseline as p
from collectionparser.splitter import get_output_file
@@ -108,26 +107,6 @@ class ParserTest(unittest.TestCase):
self.assertIsNone(p('jsjjd.@Com.:love melon'))
def test_parse_2(self):
t = time()
for _ in range(20000): # 10,000 * 13 = 130,000 in 4.0 seconds.
# => 32B in in 10 days. That's a lot.
p('[email protected]:123')
p('hello@@gmail.com:123')
p('hello @ gmail.com:123')
p('hello @@ gmail.com:123')
p('hello @@ gmail.com:123:')
p('hello @@ gmail.com,123')
p('123,hello @@ gmail.com')
p('[email protected]')
p('[email protected]:?????? ??? ?????')
p('[email protected]:85.242.201.81,felix')
p('[email protected]:125.26.106.158,nopparat')
p('[email protected]:INSERT INTO `users'
'`(`id`, `verify`, `username`, `email`, `password')
p('[email protected]:Login')
print(time() - t)
def test_parse_3(self):
self.assertEqual('j/o/s', get_output_file('[email protected]'))
self.assertEqual('c/e/o', get_output_file('[email protected]'))
self.assertEqual('x/symbols', get_output_file('[email protected]'))