Ticket created by ~mcepl on ~mcepl/devel
test_nntplib: checks NNTP protocol with
news.trigofacile.com:119 nntp.aioe.org:563
Requires an NNTP server on the host that allows unencrypted and encrypted connections (both with STARTTLS and on the NNTPS port) and has at least one group with some messages.
Ticket created by ~mcepl on ~mcepl/devel
Comment by ~mcepl on ~mcepl/devel
REPORTED
RESOLVED FIXEDTicket created by ~mcepl on ~mcepl/devel
Before somebody takes over the name. (from 2024-04-13)
Ticket created by ~mcepl on ~mcepl/devel
How can the module be under the BSD license, as it was copied from the stdlib that’s under the Python license? (not the same thing as the PSF license)
From https://github.com/python/cpython/pull/104894#issuecomment-1564606132
Comment by ~mcepl on ~mcepl/devel
Matěj Cepl referenced this ticket in commit 7081aff.
REPORTED
RESOLVED FIXEDTicket created by ~mcepl on ~mcepl/devel
It is apparently Jython now.
Ticket created by ~mcepl on ~mcepl/devel
====================================================================== ERROR: test_server_initialization (test.test_email_server.TestEmailServer.test_server_initialization) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/mock.py", line 1375, in patched return func(*newargs, **newkeywargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/matej/archiv/2008/projekty/imapArch/test/test_email_server.py", line 31, in test_server_initialization box = archive_folder.EmailServer('fakeuser@fakehost', 'FakeArchive') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/matej/archiv/2008/projekty/imapArch/archive_folder.py", line 209, in __init__ self.box, self.all_folders = self.__login(**self.cfg) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/matej/archiv/2008/projekty/imapArch/archive_folder.py", line 227, in __login ok, data = box.list() ^^^^^^^^ ValueError: not enough values to unpack (expected 2, got 0)
Ticket created by ~mcepl on ~mcepl/devel
====================================================================== ERROR: test_folder_emails_before (test.test_email_server.TestFolder.test_folder_emails_before) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/mock.py", line 1375, in patched return func(*newargs, **newkeywargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/matej/archiv/2008/projekty/imapArch/test/test_email_server.py", line 77, in test_folder_emails_before folder = archive_folder.Folder(box, 'INBOX/FakeFolder').select() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/matej/archiv/2008/projekty/imapArch/archive_folder.py", line 79, in __init__ self.box = server.box ^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 653, in __getattr__ raise AttributeError("Mock object has no attribute %r" % name) AttributeError: Mock object has no attribute 'box'