Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pymilter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
misc
pymilter
Commits
6394b871
Commit
6394b871
authored
8 years ago
by
Yudai Kato
Committed by
Stuart D. Gathman
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
add quarantine() and progress() as not implemented functions for now. (#6)
parent
ded14122
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Milter/test.py
+8
-0
8 additions, 0 deletions
Milter/test.py
with
8 additions
and
0 deletions
Milter/test.py
+
8
−
0
View file @
6394b871
...
@@ -69,6 +69,14 @@ class TestBase(object):
...
@@ -69,6 +69,14 @@ class TestBase(object):
self
.
_envfromchanged
=
True
self
.
_envfromchanged
=
True
self
.
_sender
=
sender
self
.
_sender
=
sender
# TODO: write implement quaratine()
def
quarantine
(
self
,
reason
):
raise
NotImplemented
# TODO: write implement progress()
def
progress
(
self
):
raise
NotImplemented
# FIXME: rfc822 indexing does not really reflect the way chg/add header
# FIXME: rfc822 indexing does not really reflect the way chg/add header
# work for a %milter
# work for a %milter
def
chgheader
(
self
,
field
,
idx
,
value
):
def
chgheader
(
self
,
field
,
idx
,
value
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment