Skip to content
Snippets Groups Projects
  1. Apr 02, 2021
  2. Mar 26, 2021
  3. Mar 03, 2021
    • Antoine Lambert's avatar
      tests: Drop hypothesis < 6 requirement · 76360cc7
      Antoine Lambert authored
      Ensure tests can be executed using hypothesis >= 6 by suppressing
      the function_scoped_fixture health check on test that uses a function
      scope fixture in combination with @given that does not need to be reset
      between individual hypothesis examples.
      76360cc7
  4. Feb 16, 2021
  5. Jan 20, 2021
  6. Dec 11, 2020
  7. Dec 08, 2020
  8. Nov 27, 2020
  9. Nov 26, 2020
  10. Nov 24, 2020
  11. Nov 23, 2020
  12. Nov 20, 2020
  13. Nov 19, 2020
  14. Oct 30, 2020
  15. Oct 29, 2020
    • Tenma's avatar
      core tests: disambiguate arg 'request' through typing · 12fa6f26
      Tenma authored
      Both requests.Request and _pytest.FixtureRequest objects are passed to
      test fixtures as argument 'request'. This hurts readability.
      Adding typing annotations makes it clear which one is meant.
      12fa6f26
  16. Oct 28, 2020
  17. Oct 23, 2020
  18. Oct 22, 2020
  19. Oct 21, 2020
  20. Oct 19, 2020
  21. Oct 07, 2020
  22. Oct 02, 2020
    • Antoine R. Dumont's avatar
      config: Deprecated SWHConfig in favor of load_from_envvar function · 82a47667
      Antoine R. Dumont authored
      That new function declares exactly what happens today during our configuration
      loading (for loader/lister/indexer/... and rpc services in general not for the
      CLIs which will be dealt with later).
      
      Loads and parses the yaml configuration file out of the SWH_CONFIG_FILENAME
      environment variable. Allowing eventual dict enrichment with default
      configuration if provided.
      
      Related to T1532
  23. Sep 30, 2020
    • vlorentz's avatar
      SortedList: Don't inherit from UserList. · d230cb3d
      vlorentz authored
      A class should only inherit from UserList if the type of data it presents is
      the same as the data in the 'data' attribute, which isn't true here.
      
      This means, for example, that SortedList.__contains__ checked if the value
      is in self.data, which always returns False (unless unlucky, but then it
      returns True while it shouldn't).
      
      By removing this inheritance, methods that are no longer implemented no longer
      default to a buggy implementation.
      v0.3.1
      d230cb3d
  24. Sep 25, 2020
    • Nicolas Dandrimont's avatar
      Add specific celery task arguments to metadata sent to systemd-journald · d46d4c7a
      Nicolas Dandrimont authored
      We used to log all task arguments, which was a bit too much for the logging
      pipeline to handle. Now that a lot of tasks arguments have been "canonicalized",
      we can go back to logging some specific arguments directly.
      
      Use the opportunity to drop an unused argument and improve the documentation of
      these logging-related functions.
      d46d4c7a
Loading