Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(0)  |  Derive(0)  |  Import(4)

src/f/t/ftw.book-2.2.20/ftw/book/tests/base.py   ftw.book(Download)
        self.resultdir = self.get_test_result_directory()
 
        from ftw.book import tests
        self.booksdir = os.path.join(os.path.dirname(tests.__file__), 'books')
 

src/f/t/ftw.book-2.2.20/ftw/book/testing.py   ftw.book(Download)
    def testSetUp(self):
        import ftw.book.tests
        self['configurationContext'] = zca.stackConfigurationContext(
            self.get('configurationContext'))
 
    def setUp(self):
        super(ZCMLLayer, self).setUp()
        import ftw.book.tests
        self.load_zcml_file('test.zcml', ftw.book.tests)
 
 
        # Register and apply the example content GS profile
        import ftw.book.tests
        xmlconfig.file('examplecontent.zcml', ftw.book.tests,
                       context=self['configurationContext'])