1. 31 Oct, 2019 1 commit
  2. 30 Oct, 2019 3 commits
  3. 29 Oct, 2019 5 commits
  4. 28 Oct, 2019 5 commits
  5. 24 Oct, 2019 1 commit
  6. 23 Oct, 2019 1 commit
  7. 21 Oct, 2019 2 commits
  8. 18 Oct, 2019 1 commit
  9. 17 Oct, 2019 3 commits
  10. 16 Oct, 2019 1 commit
  11. 15 Oct, 2019 1 commit
  12. 11 Oct, 2019 2 commits
  13. 10 Oct, 2019 9 commits
  14. 09 Oct, 2019 2 commits
  15. 08 Oct, 2019 1 commit
  16. 07 Oct, 2019 2 commits
    • Jérome Perrin's avatar
      Update most SR tests to use slapos.testing · 6ddbb205
      Jérome Perrin authored
      Update almost all tests to use nexedi/slapos.core!64 
      
      Notable changes:
       * the testcase class is generated dynamically with `makeModuleSetUpAndTestCaseClass`
       * `self.slap` allow low level control of slapos
       * IP addresses are available as `_ipv6_address` and `_ipv4_address` class attributes
       * `getSupervisorRPCServer` no longer exist, instead use `self.slap.instance_supervisor_rpc` (as context manager)
       * now the framework takes care of running promises and instance step fail when instanciation fail or when promises are not satisfied (as a result, some tests checking promises are dropped)
       * test needs `slapos` and `supervisord` commands in PATH. It's important to have a recent enough `slapos` and not the `~/bin/slapos` from slaprunner which sets `$SLAPOS_CONFIGURATION` 
      
      Following tests were not updated:
       * `caddy-frontend` as this will require more work, because this software uses shared partitions and maybe other things will need to be adapted in the tests. 
       * `slapos-master` as it is same as ERP5 and I thought maybe we can do better than duplicating code, so I left it as is for now.
       * `nextcloud` as this fail the `slapos node instance` step.
      
      There are also a few style changes or small fixes to make pylint happy and some other fixes for problems with softwares and also a fix for seleniumrunner flaky test.
      
      /reviewed-on nexedi/slapos!624
      6ddbb205
    • Jérome Perrin's avatar
      213d79a5