1. 20 Feb, 2020 3 commits
    • Arnaud Fontaine's avatar
      ZODB Components: BusinessTemplate: Products.ERP5Type.Base will never be... · 6dc5e1cb
      Arnaud Fontaine authored
      ZODB Components: BusinessTemplate: Products.ERP5Type.Base will never be migrated (InitGhostBase) so ignore it when migrating source files from FS.
      6dc5e1cb
    • Arnaud Fontaine's avatar
      ZODB Components: Keep a reference of Test Component module on ERP5TypeTestLoader. · 7d34f032
      Arnaud Fontaine authored
      All other Component modules must be kept alive during the REQUEST life (f523edc4).
      However, Unit Tests modules should be kept alive until it finished executing and
      this may span accross multiple REQUESTS.
      
      Issue found out when migrating testBusinessTemplate to erp5_core_test which was
      failing as the module was GC'ed and its top-level variables were reset to None by
      the interpreter.
      7d34f032
    • Arnaud Fontaine's avatar
      erp5_core_test: Migrate core tests ERP5/ERP5Type Products which have no external bt5 dependencies. · de85c464
      Arnaud Fontaine authored
      Not migrated:
        + testERP5Site: Checks Site creation and overrides setUp().
        + testERP5TypeInterfaces: Verifies that classes implements the Interfaces they claim to implement.
          => Should probably be integrated into coding style Unit Tests and done
             dynamically (MRO). Also, testERP5Interfaces imports code from that
             Unit Test and requires non-core bt5 to be installed.
        + testInvalidationBug: To-do (failing).
        + testPredicate: testDomainTool, inheriting from TestPredicateMixin, should be rewritten to not
          depend on erp5_apparel so that it can be moved to erp5_core_test.
      
      Also, move manuallyInstallBusinessTemplate() and uninstallBusinessTemplate() from
      ERP5TypeCommandLineTestCase to ERP5TypeTestCaseMixin as they are also used by
      Live Unit Tests.
      de85c464
  2. 19 Feb, 2020 7 commits
  3. 18 Feb, 2020 4 commits
  4. 17 Feb, 2020 18 commits
  5. 14 Feb, 2020 8 commits