1. 10 Dec, 2020 1 commit
    • Jérome Perrin's avatar
      test_cli: fix mock wrong method · f9626e66
      Jérome Perrin authored
      this test checks "slapos node boot" which calls check_root_user after
      importing it in slapos.cli.boot, so we should patch in that module.
      f9626e66
  2. 08 Dec, 2020 3 commits
  3. 05 Dec, 2020 2 commits
  4. 04 Dec, 2020 13 commits
  5. 02 Dec, 2020 2 commits
    • Jérome Perrin's avatar
      testing: don't reset PYTHONPATH · c83bb10e
      Jérome Perrin authored
      we no longer use python setup.py test
      c83bb10e
    • Jérome Perrin's avatar
      slap/standalone: don't unset PYTHONPATH · 9e5ba82d
      Jérome Perrin authored
      We were doing this because we use to run tests with `python setup.py test`
      which automatically sets PYTHONPATH, so it was affecting sub processes
      started by standalone.
      
      Nowadays we no longer use this method of running tests, so we are not really
      supposed to use PYTHONPATH, so we don't unset this environment variable,
      there might be valid cases where users want to force a different python path
      (but I can not think of any) and it simplifies the code a bit.
      9e5ba82d
  6. 01 Dec, 2020 3 commits
  7. 30 Nov, 2020 1 commit
  8. 27 Nov, 2020 3 commits
  9. 26 Nov, 2020 8 commits
  10. 25 Nov, 2020 1 commit
    • Thomas Gambier's avatar
      slapgrid: compare os name in lower case · bc79d780
      Thomas Gambier authored
      When comparing OS to see if they match for binary cache, we only compare
      the lower case distribution name because sometimes "Debian' is
      capitalized and sometimes not.
      bc79d780
  11. 24 Nov, 2020 3 commits