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

All Samples(40)  |  Call(19)  |  Derive(0)  |  Import(21)

src/e/r/erp5-HEAD/product/ERP5OOo/OOoTemplate.py   erp5(Download)
    if DevelopmentMode:
      # Validate XML in development mode
      from Products.ERP5OOo.tests.utils import Validator
      err_list = Validator().validate(ooo)
      if err_list:

src/e/r/erp5-HEAD/product/ERP5OOo/tests/testFormPrintoutAsODT.py   erp5(Download)
from Products.MimetypesRegistry.mime_types.magic import guessMime
from Products.ERP5OOo.OOoUtils import OOoBuilder
from Products.ERP5OOo.tests.utils import Validator
from Products.ERP5Type.tests.utils import FileUpload
from DateTime import DateTime
    v12schema_url = os.path.join(os.path.dirname(__file__),
                                 'OpenDocument-v1.2-os-schema.rng')
    self.validator = Validator(schema_url=v12schema_url)
 
    foo_file_path = os.path.join(os.path.dirname(__file__),

src/e/r/erp5-HEAD/product/ERP5OOo/tests/testOOoDynamicStyle.py   erp5(Download)
from Products.ERP5Type.tests.utils import DummyLocalizer
from zLOG import LOG
from Products.ERP5OOo.tests.utils import Validator
from Products.ERP5OOo.OOoUtils import OOoBuilder
 
    v12schema_url = os.path.join(os.path.dirname(__file__),
                                 'OpenDocument-v1.2-os-schema.rng') 
    self.validator = Validator(schema_url=v12schema_url)
    en_file_path = os.path.join(os.path.dirname(__file__),
                                'test_document',

src/e/r/erp5-HEAD/product/ERP5OOo/tests/testFormPrintoutAsODG.py   erp5(Download)
from Products.ERP5Type.tests.backportUnittest import expectedFailure
from Products.ERP5OOo.OOoUtils import OOoBuilder
from Products.ERP5OOo.tests.utils import Validator
from Products.ERP5Type.tests.utils import FileUpload
from DateTime.DateTime import DateTime
    v12schema_url = os.path.join(os.path.dirname(__file__),
                                 'OpenDocument-v1.2-os-schema.rng')
    self.validator = Validator(schema_url=v12schema_url)
 
    foo_file_path = os.path.join(os.path.dirname(__file__),

src/e/r/erp5-HEAD/product/ERP5OOo/tests/testOOoStyle.py   erp5(Download)
from Products.ERP5Form.Selection import Selection
from Testing import ZopeTestCase
from Products.ERP5OOo.tests.utils import Validator
import httplib
 
 
    self.portal.changeSkin(self.skin)
    self.validator = Validator()
    # make sure selections are empty
    name = 'person_module_selection'

src/e/r/erp5-HEAD/product/ERP5OOo/tests/testDeferredStyle.py   erp5(Download)
from Testing import ZopeTestCase
from AccessControl.SecurityManagement import newSecurityManager
from Products.ERP5OOo.tests.utils import Validator
import email
 

src/e/r/erp5-HEAD/product/ERP5Form/tests/testOOoChart.py   erp5(Download)
from Products.ERP5Form.Selection import Selection
from Testing import ZopeTestCase
from Products.ERP5OOo.tests.utils import Validator
from Acquisition import aq_base
from Products.ERP5Type.Globals import get_request
                                            wf_id='preference_workflow')
 
      self.validator = Validator()
      self.tic()
 

src/e/r/erp5-HEAD/product/ERP5/tests/testPackingList.py   erp5(Download)
 
    odt = packing_list.PackingList_viewAsODT()
    from Products.ERP5OOo.tests.utils import Validator
    odf_validator = Validator()
    err_list = odf_validator.validate(odt)

src/e/r/erp5-HEAD/product/ERP5/tests/testOrder.py   erp5(Download)
 
    odt = order.Order_viewAsODT()
    from Products.ERP5OOo.tests.utils import Validator
    odf_validator = Validator()
    err_list = odf_validator.validate(odt)
 
    odt = order.Order_viewAsODT()
    from Products.ERP5OOo.tests.utils import Validator
    odf_validator = Validator()
    err_list = odf_validator.validate(odt)
 
    odt = order.Order_viewAsODT()
    from Products.ERP5OOo.tests.utils import Validator
    odf_validator = Validator()
    err_list = odf_validator.validate(odt)

src/e/r/erp5-HEAD/product/ERP5/tests/testInvoice.py   erp5(Download)
    if text_content.find(product_total_price) == -1 :
      self.fail('fail to get the total price of the products with tax')
    from Products.ERP5OOo.tests.utils import Validator
    odf_validator = Validator()
    err_list = odf_validator.validate(odt)
 
    odt = invoice.Invoice_viewAsODT()
    from Products.ERP5OOo.tests.utils import Validator
    odf_validator = Validator()
    err_list = odf_validator.validate(odt)
 
    odt = invoice.Invoice_viewAsODT()
    from Products.ERP5OOo.tests.utils import Validator
    odf_validator = Validator()
    err_list = odf_validator.validate(odt)

  1 | 2  Next