Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to mock Milter.Base's -ctx object? #3

Open
heinrichheine opened this issue May 9, 2016 · 0 comments
Open

How to mock Milter.Base's -ctx object? #3

heinrichheine opened this issue May 9, 2016 · 0 comments

Comments

@heinrichheine
Copy link

Hi
i am trying to build a test for my own milter class
MyMilter(Milter.Base)

The test fails due to not set _ctx object in the milter implementation.
The _ctx is initialized by the method _setctx found in Milter/init.py but i am not sure which object i should use to initialize this in my test set up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant