I think the best solution to these failures is to use the feature described in #9, rather than attempting to fix the current implementation strategy.
[FAIL]
Traceback (most recent call last):
File "/home/mithrandi/code/Mantissa/xmantissa/test/test_port.py", line 1010, in test_createSSLPortWithMethod
"--factory-identifier", str(factory.storeID)])
File "/home/mithrandi/code/Mantissa/xmantissa/test/test_port.py", line 484, in assertFailStatus
exc = self.assertRaises(SystemExit, options.parseOptions, arguments)
File "/home/mithrandi/deployment/virtualenvs/Mantissa/local/lib/python2.7/site-packages/twisted/trial/_synctest.py", line 429, in assertRaises
return context._handle(lambda: f(*args, **kwargs))
File "/home/mithrandi/deployment/virtualenvs/Mantissa/local/lib/python2.7/site-packages/twisted/trial/_synctest.py", line 321, in _handle
self._returnValue = obj()
File "/home/mithrandi/deployment/virtualenvs/Mantissa/local/lib/python2.7/site-packages/twisted/trial/_synctest.py", line 359, in __exit__
self._expectedName, reason.getTraceback()),
twisted.trial.unittest.FailTest: exceptions.AttributeError raised instead of SystemExit:
Traceback (most recent call last):
File "/home/mithrandi/code/Mantissa/xmantissa/test/test_port.py", line 1010, in test_createSSLPortWithMethod
"--factory-identifier", str(factory.storeID)])
File "/home/mithrandi/code/Mantissa/xmantissa/test/test_port.py", line 484, in assertFailStatus
exc = self.assertRaises(SystemExit, options.parseOptions, arguments)`SSLPort` te`
File "/home/mithrandi/deployment/virtualenvs/Mantissa/local/lib/python2.7/site-packages/twisted/trial/_synctest.py", line 429, in assertRaises
return context._handle(lambda: f(*args, **kwargs))
File "/home/mithrandi/deployment/virtualenvs/Mantissa/local/lib/python2.7/site-packages/twisted/trial/_synctest.py", line 321, in _handle
self._returnValue = obj()
--- <exception caught here> ---
File "/home/mithrandi/deployment/virtualenvs/Mantissa/local/lib/python2.7/site-packages/twisted/trial/_synctest.py", line 321, in _handle
self._returnValue = obj()
File "/home/mithrandi/deployment/virtualenvs/Mantissa/local/lib/python2.7/site-packages/twisted/trial/_synctest.py", line 429, in <lambda>
return context._handle(lambda: f(*args, **kwargs))
File "/home/mithrandi/deployment/virtualenvs/Mantissa/local/lib/python2.7/site-packages/twisted/python/usage.py", line 267, in parseOptions
self.subOptions.parseOptions(rest)
File "/home/mithrandi/deployment/virtualenvs/Mantissa/local/lib/python2.7/site-packages/twisted/python/usage.py", line 277, in parseOptions
self.postOptions()
File "/home/mithrandi/code/Mantissa/xmantissa/port.py", line 472, in postOptions
port = method(store, *args, **kwargs)
File "/home/mithrandi/code/Mantissa/xmantissa/port.py", line 493, in create_SSL
key = context.privateKeyFileName
exceptions.AttributeError: 'OpenSSLCertificateOptions' object has no attribute 'privateKeyFileName'
I think the best solution to these failures is to use the feature described in #9, rather than attempting to fix the current implementation strategy.