1. 20 Nov, 2016 1 commit
    • Julien Muchembled's avatar
      tests: fix cache issue causing random failure in testAuthenticationPolicy · 839a2744
      Julien Muchembled authored
      Traceback (most recent call last):
        File "Products/ERP5/tests/testAuthenticationPolicy.py", line 538, in test_05_HttpRequest
          self.assertFalse(person.isLoginBlocked())
        File "Products/ERP5/mixin/login_account_provider.py", line 68, in isLoginBlocked
          return method(**kw)
        File "ZODB/Connection.py", line 857, in setstate
          raise ConnectionStateError(msg)
      ConnectionStateError: Shouldn't load state for 0x6c90 when the connection is closed
      839a2744
  2. 18 Nov, 2016 1 commit
  3. 17 Nov, 2016 1 commit
  4. 16 Nov, 2016 4 commits
  5. 15 Nov, 2016 7 commits
  6. 10 Nov, 2016 2 commits
  7. 09 Nov, 2016 1 commit
    • Jérome Perrin's avatar
      Accounting: fix a wrong constraint when checking accounting periods · f61b748d
      Jérome Perrin authored
      When we have a transaction with both sections from the same group, we
      only check accounting periods for the sides which actually define
      accounting. When there was a source or destination organiation defined
      at the delivery level it was acquired on the lines and in that check we
      wrongly considered this to be defining accounting.
      f61b748d
  8. 08 Nov, 2016 1 commit
    • Julien Muchembled's avatar
      erp5.util.testnode: make --frontend_url/node_quantity optional for runUnitTest · 7ea66035
      Julien Muchembled authored
      The recently added --frontend_url parameter breaks all existing runUnitTest
      scripts that don't accept it, and because this option is irrelevant for many
      of them, we don't want to force everyone to update their test suites.
      
      Similarly, parallelizing tests is not worth the effort for some test suites,
      and currently, their runUnitTest scripts contain ugly lines like:
      
          parser.add_argument('--node_quantity', help='ignored', type=int)
      
      These 2 parameters are now passed to runUnitTest only if it supports them,
      like it is already the case for --firefox_bin and --xvfb_bin.
      7ea66035
  9. 07 Nov, 2016 4 commits
  10. 04 Nov, 2016 16 commits
  11. 03 Nov, 2016 2 commits