I have started a branch to expose the pending domain.alias_domains attribute in Postorius.
I haven't yet done anything with tests, but I did the basic modifications and created <https://gitlab.com/mailman/postorius/merge_requests/186>. Of course, this merge failed CI because "create_domain() got an unexpected keyword argument 'alias_domain'".
So I need to record a new tape and modify the test. So my problem is I can't record any tapes. My "tox -e record" attempts fail with tracebacks like the attached.
It appears the virtualenv in .tox/record is a Python 3.5 virtualenv and Python 3.5 doesn't have a urllib2 module.
Why is tox creating this as a Python 3 virtualenv? All the others it creates for Postorius are Python 2.7. I've even tried "tox -e record --force-dep 'python <=2.7'" but that doesn't help.
Does anyone know what I need?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan