twisted / twisted/twisted

test_mail.py failure

Open
#6,426 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug mail new priority-normal
Dominant language
Python
Stars
6k
Forks
1.2k
Avg merge
2d 10h
Merged PRs (30d)
10

Description

rodney757's avatar rodney757 reported
Trac ID trac#6426
Type defect
Created 2013-04-11 20:56:20Z

Upon running the test suite, twisted.mail.test.test_mail.ProcessAliasTestCase.test_processAlias is failing.

This is on OSX 10.7.5

===============================================================================
[ERROR]
Traceback (most recent call last):
File "/Users/rjewing/Documents/Programming Projects/src/Twisted/twisted/mail/test/test_mail.py", line 1937, in _cbProcessAlias
lines = file('process.alias.out').readlines()
exceptions.IOError: [Errno 2] No such file or directory: 'process.alias.out'

twisted.mail.test.test_mail.ProcessAliasTestCase.test_processAlias

Attachments:

  • fix.patch (491 bytes) - added by rodney757 on 2013-04-15 20:52:18Z -
  • fix.2.patch (741 bytes) - added by rodney757 on 2013-04-15 20:58:33Z - added news file
Searchable metadata
trac-id__6426 6426
type__defect defect
reporter__rodney757 rodney757
priority__normal normal
milestone__ 
branch__ 
branch_author__ 
status__new new
resolution__None None
component__mail mail
keywords__ 
time__1365713780000000 1365713780000000
changetime__1366111588000000 1366111588000000
version__None None
owner__rodney757 rodney757
cc__jml

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with twisted/mail/test/test_mail.py and ProcessAliasTestCase.test_processAlias, then run that test on the affected platform to reproduce the missing process.alias.out failure. Review the attached fix patches for context and confirm that the test suite passes with the expected output file produced.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.