1. 10 Oct, 2019 4 commits
    • Jérome Perrin's avatar
      testERP5TestNode: remove outdated XXX comment · 1172ff04
      Jérome Perrin authored
      When running tests the path to git command is just git, because we have
      set $PATH
      1172ff04
    • Jérome Perrin's avatar
      testnode: fix Computer.updateConfiguration call · b76875d6
      Jérome Perrin authored
      updateConfiguration is a method to set the list of partitions, not to
      add partitions to an existing computer. The previous (slapos.core
      <1.5.0) implementation of slap proxy was incorrect and was adding more
      partitions each time it was called, but that was never the indented
      behavior.
      
      Prepare the list of partitions and call updateConfiguration only once to
      set all partitions.
      
      This should fix SLAPOS-SR-TEST that are still using erp5.util
      b76875d6
    • Jérome Perrin's avatar
      testERP5TestNode: make tests properly isolated · 0e0e240f
      Jérome Perrin authored
      Some tests where patching SlapOSControler to replace methods by a no-op,
      but this was never reset. I believe we should rewrite this using mock
      which takes care of un-doing the patches for us and makes this testing
      easier, but for now I'm just reseting the missing methods like all
      others were already reseted.
      0e0e240f
    • Jérome Perrin's avatar
      testERP5TestNode: fix fake config · 4b752bdb
      Jérome Perrin authored
      configparser read options as strings, node_quantity is not supposed to
      be an int.
      4b752bdb
  2. 31 Jul, 2019 1 commit
  3. 13 May, 2019 1 commit
  4. 29 Apr, 2019 1 commit
  5. 20 Feb, 2019 1 commit
  6. 20 Sep, 2018 1 commit
  7. 07 Sep, 2018 1 commit
  8. 20 Aug, 2018 2 commits
  9. 18 Apr, 2018 2 commits
  10. 28 Dec, 2017 2 commits
  11. 21 Dec, 2017 2 commits
  12. 06 Nov, 2017 1 commit
  13. 02 Nov, 2017 1 commit
  14. 10 Oct, 2017 1 commit
  15. 20 Apr, 2017 1 commit
  16. 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
  17. 04 Nov, 2016 2 commits
  18. 31 Oct, 2016 1 commit
  19. 04 Aug, 2016 1 commit
  20. 18 Mar, 2016 2 commits
  21. 02 Sep, 2015 1 commit
  22. 23 Jul, 2015 1 commit
  23. 10 Mar, 2015 1 commit
  24. 02 Dec, 2014 2 commits
  25. 14 Apr, 2014 1 commit
  26. 25 Sep, 2013 2 commits
  27. 30 Aug, 2013 1 commit
  28. 13 Mar, 2013 1 commit
  29. 01 Mar, 2013 1 commit