~mcepl

https://floss.social/@mcepl

Trackers

~mcepl/devel

Last active 18 days ago

~mcepl/pygn

Last active 3 months ago

~mcepl/gen-oath-safe

Last active 5 months ago

#17 [nntplib] Tests with the real NNTP servers 18 days ago

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.

#16 [nntplib] test_nntplib: sporadic failures, test_article_head_body() 18 days ago

Ticket created by ~mcepl on ~mcepl/devel

#15 [nntplib] Make package on PyPI 18 days ago

Comment by ~mcepl on ~mcepl/devel

REPORTED RESOLVED FIXED

#15 [nntplib] Make package on PyPI 18 days ago

Ticket created by ~mcepl on ~mcepl/devel

Before somebody takes over the name. (from 2024-04-13)

#14 [nntplib] Wrong license 18 days ago

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

#11 [imapArch] no LICENSE, no README 18 days ago

Comment by ~mcepl on ~mcepl/devel

Matěj Cepl referenced this ticket in commit 7081aff.

REPORTED RESOLVED FIXED

#13 [imapArch] rewrite purgeObsolete.py to pure Python 21 days ago

Ticket created by ~mcepl on ~mcepl/devel

It is apparently Jython now.

#12 [imapArch] box.list -> ValueError: not enough values to unpack 21 days ago

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)

#11 [imapArch] no LICENSE, no README 21 days ago

Ticket created by ~mcepl on ~mcepl/devel

#10 [imapArch] Mock object has no attribute 'box' 21 days ago

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'