Commit c915ba72 authored by Daniel Stender's avatar Daniel Stender

Import pytest-localserver_0.3.5.orig.tar.xz

parent a735e4ef
This diff is collapsed.
This diff is collapsed.
......@@ -8,7 +8,9 @@ pytest_localserver/ca.crt
pytest_localserver/http.py
pytest_localserver/https.py
pytest_localserver/plugin.py
pytest_localserver/server.csr
pytest_localserver/server.pem
pytest_localserver/server.pem.orig
pytest_localserver/smtp.py
pytest_localserver.egg-info/PKG-INFO
pytest_localserver.egg-info/SOURCES.txt
......
werkzeug>=0.10
\ No newline at end of file
werkzeug>=0.10
VERSION = '0.3.4'
VERSION = '0.3.5'
-----BEGIN CERTIFICATE REQUEST-----
MIIEsDCCApgCAQAwazELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUx
GzAZBgNVBAoMEnB5dGVzdC1sb2NhbHNlcnZlcjEWMBQGA1UECwwNVGVzdGluZyBE
ZXB0LjESMBAGA1UEAwwJMTI3LjAuMC4xMIICIjANBgkqhkiG9w0BAQEFAAOCAg8A
MIICCgKCAgEAv3Tux8Ca22wL+VC7eA0jeSJoqNg7TgOf3gIr8vq+WRV+lV/Kvawn
+Pmv88JLIzZX+wkK8uNoFhBVxApVhA9rZ1xeu81mu9Ux2LPCoKti73SAbf93Xu4v
QfcIOSYz438a1TymRi3I6AVSUW+YWl1V8dAsVKbKaPDdPPP4oMUSq92YvI2kBQ0S
DnzHezRpd8zh3edYG5BPpkZCTXU+lbegh9ihjzoWVzGoY9NPGOk3FBDU/AAVawmJ
Hbb6aTZz5K61fe9AY+KGl632iPSqo54YwMF/avZge/CFh40owEIu4Ow9DNpbcGm/
kOsvvlu1T9ttlPA3kxjEAUwsSAvbdSjCVTJihef4COu5/vG5wv/MV2e5dO7S7qo9
nZpN7GNPXn50wW7vAZXAX1D6EIBO7tpjW44GIDR7+sdlzcaEHXL+zcNWKBKimDov
QFQ0YEPxjO8H78FSGvWAHIzOMPx84c1TLhETDLn+IQoh0pdFYTdPkDKR+CTpQH9n
gaA6banol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fhr
eDI2BN4MrFC+IHcF7D98F/sYowWSO0zibp8YZL4IlN5sEFe8XV5jBuyptijinyHX
ZZ7gMGpAb1F/9OdiLFaQrCsxAg4GyMVWUX1cpptI+jd3cSUZOQ/kHXZ3ls2NmFYk
dTWPYt/6zTLvDEL2yCdG8qGCnTGmMnykt00F85/vEnWrz5Gpcwg1vJMDlXfNrice
6IRLE5LI3UZX+8gkTOnz4SSL0Ih97nfXXqDzWXhSvGSeCQ5zW4LCbYF1CZG6wjUE
tgktNELrDECRtimxozXX9/7hNWQWiCPdddBEBOgfXer0SW2B26BHVsh2PSYeReSj
6OOXao15BLjLORScn0k5mqpoqUDULpg/MOLPQjq3ZZJMcbzhOBRJ4YhQ8bZ73Amz
u+MugAve3CqHXFXs5ygCXSIrgcPdYWIKUe/QJOkFyZHA0W3A6fmvpNh8Brm38L8M
N0//cSZHlJHuFmykDXBqNQPDdUPYMiT3dkVRm7Az+enMpnRs4yfeSSlCyOPJqh7b
Yrxe6C9CQF5DFatrpF5/bvvxqV/jiwdXr415ikdwHf+LmrORHw3y5dr42++5Cpmm
wn1T6rOBZEfA8szd+ccp1B3J1VYeEOL3faOTeBni6uDpRiLlxOeed+gDy80=
-----END CERTIFICATE-----
......@@ -34,7 +34,7 @@ class Server (smtpd.SMTPServer, threading.Thread):
def __init__(self, host='localhost', port=0):
smtpd.SMTPServer.__init__(self, (host, port), None)
if self._localaddr[1] == 0:
self.addr = self.getsockname()
self.addr = self.socket.getsockname()
self.outbox = []
......
[egg_info]
tag_build =
tag_date = 0
tag_svn_revision = 0
[egg_info]
tag_build =
tag_date = 0
tag_svn_revision = 0
......@@ -2,7 +2,7 @@ from setuptools import setup, Command
import sys
VERSION = '0.3.4'
VERSION = '0.3.5'
def read(fname):
......@@ -67,6 +67,8 @@ setup(
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Testing'
]
)
......@@ -21,7 +21,7 @@ def send_plain_email(to, from_, subject, txt, server=('localhost', 25)):
msg['From'] = from_
msg['To'] = to
host, port = server
host, port = server[:2]
server = smtplib.SMTP(host, port)
server.set_debuglevel(1)
server.sendmail(from_, to, msg.as_string())
......
[tox]
envlist = py26,py27,py33
envlist = py26,py27,py33,py34,py35
recreate = True
[tox:hudson]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment