Created
July 9, 2020 14:02
-
-
Save jugmac00/f47375102e88382091b171b4637fbdfe to your computer and use it in GitHub Desktop.
Zope and pytest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import os.path | |
import sys | |
import gocept.httpserverlayer.plonetestingzope as gc_httpserverlayer_zope | |
import gocept.selenium | |
import plone.testing.layer | |
import plone.testing.zodb | |
import plone.testing.zope as plone_testing_zope | |
import Products.MailHost.tests.testMailHost | |
import pytest | |
from AccessControl.SecurityManagement import noSecurityManager | |
from App.config import getConfiguration |
That's why I wrote:
https://twitter.com/jugmac00/status/1281228550926995460
And so it began...
https://twitter.com/ericof/status/1281168493233176578
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not the important part. The important one is https://github.com/gocept/gocept.pytestlayer. That package converts layers to fixtures.