[Twisted-Python] RunningTwisted tests on Windows and SSL

John Aherne johnaherne at rocs.co.uk
Mon Mar 19 11:08:02 MDT 2018


Thanks.

I was using a virtualenv.

Just loaded everything again and all is now cleaner.

Now the not ported modules don't appear.

Just have the sslChainLoads test to look at.

Regards

John Aherne




On Sun, Mar 18, 2018 at 7:17 PM, Craig Rodrigues <rodrigc at crodrigues.org>
wrote:

> Do not run the tests directly from the source tree.
> Instead, you should install Twisted into a virtualenv
> and run "trial twisted" from inside the virtualenv and outside the source
> tree.
> The installer has some logic to omit the installation of certain modules
> and tests
> which do not work on Python 3.
>
> You can also run the tests by using tox as specified here:
>
> https://github.com/twisted/twisted/blob/trunk/README.rst#unit-tests
>
> because tox takes care of setting up the virtualenv and running the
> tests inside the virtualenv.
>
> --
> Craig
>
>
>
> On Sat, Mar 17, 2018 at 2:58 AM, John Aherne <johnaherne at rocs.co.uk>
> wrote:
>
>>
>>
>> twisted.cred.test.test_strcred.SSHCheckerTests.test_isChecker
>> ============================================================
>> ===================
>> [ERROR]
>> Traceback (most recent call last):
>>   File "c:\twistedssl\twisted\src\twisted\mail\test\test_mail.py", line
>> 12, in <module>
>>     import StringIO
>> builtins.ModuleNotFoundError: No module named 'StringIO'
>>
>>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>


-- 
*John Aherne*




*www.rocs.co.uk <http://www.rocs.co.uk>*
020 7223 7567
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20180319/06231811/attachment-0002.html>


More information about the Twisted-Python mailing list