summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_nntplib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_nntplib.py')
-rw-r--r--Lib/test/test_nntplib.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_nntplib.py b/Lib/test/test_nntplib.py
index 85334bb..dd100ef 100644
--- a/Lib/test/test_nntplib.py
+++ b/Lib/test/test_nntplib.py
@@ -12,6 +12,7 @@ TIMEOUT = 30
# TODO:
# - test the `file` arg to more commands
# - test error conditions
+# - test auth and `usenetrc`
class NetworkedNNTPTestsMixin:
@@ -255,7 +256,7 @@ class MockedNNTPTestsMixin:
# isn't seekable.
file = io.BufferedRWPair(self.sio, self.sio)
kwargs.setdefault('usenetrc', False)
- self.server = nntplib._NNTPBase(file, *args, **kwargs)
+ self.server = nntplib._NNTPBase(file, 'test.server', *args, **kwargs)
return self.server