Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Mailman Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
304
Issues
304
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
43
Merge Requests
43
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNU Mailman
Mailman Core
Commits
d68b6a21
Commit
d68b6a21
authored
Sep 23, 2015
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'issue135' of gitlab.com:warsaw/mailman into issue135
parents
4188b533
2f6a9c1f
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
11 additions
and
11 deletions
+11
-11
setup.py
setup.py
+0
-1
src/mailman/bin/tests/test_mailman.py
src/mailman/bin/tests/test_mailman.py
+1
-1
src/mailman/commands/tests/test_conf.py
src/mailman/commands/tests/test_conf.py
+1
-1
src/mailman/commands/tests/test_import.py
src/mailman/commands/tests/test_import.py
+1
-1
src/mailman/config/tests/test_configuration.py
src/mailman/config/tests/test_configuration.py
+1
-1
src/mailman/database/alembic/versions/2bb9b382198_workflow_state_table.py
...base/alembic/versions/2bb9b382198_workflow_state_table.py
+2
-2
src/mailman/database/tests/test_factory.py
src/mailman/database/tests/test_factory.py
+1
-1
src/mailman/docs/NEWS.rst
src/mailman/docs/NEWS.rst
+1
-0
src/mailman/runners/tests/test_nntp.py
src/mailman/runners/tests/test_nntp.py
+1
-1
src/mailman/testing/helpers.py
src/mailman/testing/helpers.py
+1
-1
src/mailman/utilities/tests/test_import.py
src/mailman/utilities/tests/test_import.py
+1
-1
No files found.
setup.py
View file @
d68b6a21
...
...
@@ -99,7 +99,6 @@ case second `m'. Any other spelling is incorrect.""",
'httplib2'
,
'lazr.config'
,
'lazr.smtptest'
,
'mock'
,
'nose2'
,
'passlib'
,
'sqlalchemy'
,
...
...
src/mailman/bin/tests/test_mailman.py
View file @
d68b6a21
...
...
@@ -25,8 +25,8 @@ __all__ = [
import
unittest
from
io
import
StringIO
from
mock
import
patch
from
mailman.bin.mailman
import
main
from
unittest.mock
import
patch
...
...
src/mailman/commands/tests/test_conf.py
View file @
d68b6a21
...
...
@@ -24,13 +24,13 @@ __all__ = [
import
os
import
sys
import
mock
import
tempfile
import
unittest
from
io
import
StringIO
from
mailman.commands.cli_conf
import
Conf
from
mailman.testing.layers
import
ConfigLayer
from
unittest
import
mock
...
...
src/mailman/commands/tests/test_import.py
View file @
d68b6a21
...
...
@@ -27,8 +27,8 @@ import unittest
from
mailman.app.lifecycle
import
create_list
from
mailman.commands.cli_import
import
Import21
from
mailman.testing.layers
import
ConfigLayer
from
mock
import
patch
from
pkg_resources
import
resource_filename
from
unittest.mock
import
patch
...
...
src/mailman/config/tests/test_configuration.py
View file @
d68b6a21
...
...
@@ -25,7 +25,6 @@ __all__ = [
import
os
import
mock
import
tempfile
import
unittest
...
...
@@ -37,6 +36,7 @@ from mailman.interfaces.configuration import (
from
mailman.testing.helpers
import
configuration
,
event_subscribers
from
mailman.testing.layers
import
ConfigLayer
from
pkg_resources
import
resource_filename
from
unittest
import
mock
...
...
src/mailman/database/alembic/versions/2bb9b382198_workflow_state_table.py
View file @
d68b6a21
...
...
@@ -17,10 +17,10 @@ import sqlalchemy as sa
def
upgrade
():
op
.
create_table
(
'workflowstate'
,
sa
.
Column
(
'name'
,
sa
.
Unicode
(),
nullable
=
False
),
sa
.
Column
(
'
key
'
,
sa
.
Unicode
(),
nullable
=
False
),
sa
.
Column
(
'
token
'
,
sa
.
Unicode
(),
nullable
=
False
),
sa
.
Column
(
'step'
,
sa
.
Unicode
(),
nullable
=
True
),
sa
.
Column
(
'data'
,
sa
.
Unicode
(),
nullable
=
True
),
sa
.
PrimaryKeyConstraint
(
'name'
,
'
key
'
)
sa
.
PrimaryKeyConstraint
(
'name'
,
'
token
'
)
)
...
...
src/mailman/database/tests/test_factory.py
View file @
d68b6a21
...
...
@@ -31,10 +31,10 @@ from mailman.database.factory import LAST_STORM_SCHEMA_VERSION, SchemaManager
from
mailman.database.model
import
Model
from
mailman.interfaces.database
import
DatabaseError
from
mailman.testing.layers
import
ConfigLayer
from
mock
import
patch
from
sqlalchemy
import
MetaData
,
Table
,
Column
,
Integer
,
Unicode
from
sqlalchemy.exc
import
ProgrammingError
,
OperationalError
from
sqlalchemy.schema
import
Index
from
unittest.mock
import
patch
...
...
src/mailman/docs/NEWS.rst
View file @
d68b6a21
...
...
@@ -37,6 +37,7 @@ Bugs
backported smtpd module which can accept non-UTF-8 data. (Closes #140)
* Bulk emails are now decorated with headers and footers. Given by Aurélien
Bompard. (Closes #145)
* Core no longer depends on the standalone `mock` module. (Closes: #146)
Configuration
-------------
...
...
src/mailman/runners/tests/test_nntp.py
View file @
d68b6a21
...
...
@@ -23,7 +23,6 @@ __all__ = [
]
import
mock
import
socket
import
nntplib
import
unittest
...
...
@@ -36,6 +35,7 @@ from mailman.testing.helpers import (
LogFileMark
,
configuration
,
get_queue_messages
,
make_testable_runner
,
specialized_message_from_string
as
mfs
)
from
mailman.testing.layers
import
ConfigLayer
from
unittest
import
mock
...
...
src/mailman/testing/helpers.py
View file @
d68b6a21
...
...
@@ -40,7 +40,6 @@ __all__ = [
import
os
import
json
import
mock
import
time
import
uuid
import
errno
...
...
@@ -67,6 +66,7 @@ from mailman.interfaces.styles import IStyleManager
from
mailman.interfaces.usermanager
import
IUserManager
from
mailman.runners.digest
import
DigestRunner
from
mailman.utilities.mailbox
import
Mailbox
from
unittest
import
mock
from
urllib.error
import
HTTPError
from
urllib.parse
import
urlencode
from
zope
import
event
...
...
src/mailman/utilities/tests/test_import.py
View file @
d68b6a21
...
...
@@ -29,7 +29,6 @@ __all__ = [
import
os
import
mock
import
unittest
from
datetime
import
timedelta
,
datetime
...
...
@@ -56,6 +55,7 @@ from mailman.utilities.importer import import_config_pck, Import21Error
from
mailman.utilities.string
import
expand
from
pickle
import
load
from
pkg_resources
import
resource_filename
from
unittest
import
mock
from
zope.component
import
getUtility
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment