Skip to content
Snippets Groups Projects
  1. Dec 24, 2022
  2. Dec 09, 2022
  3. Dec 22, 2022
  4. Sep 28, 2022
  5. Jan 03, 2022
  6. Aug 18, 2021
  7. Mar 17, 2021
  8. Feb 23, 2021
  9. Jan 25, 2021
  10. Jan 11, 2021
  11. Jan 06, 2021
  12. Dec 17, 2020
  13. Oct 06, 2020
  14. Jan 29, 2020
  15. May 20, 2020
  16. Aug 29, 2019
  17. Sep 19, 2019
  18. Sep 03, 2018
    • Denis Laxalde's avatar
      [test] Setup S3Storage in a hook · 34801bb72594
      Denis Laxalde authored
      Instead of doing storage attribution in test setup, we implement a test
      hook (in test/data/hook.py) as would be done in real application. As a
      consequence, we change the way s3 requests are mocked (using moto).
      Namely, we introduce a "_s3_client" class method in S3Storage that is
      mocked in test setup so that mocking operates in the test hook.
      
      In migration tests, instead of instantiating a new storage object, we
      reuse the one bound to Image's data attribute so as to benefit from the
      active mock.
      34801bb72594
  19. Sep 04, 2018
  20. Jul 10, 2018
  21. Jun 20, 2018
Loading