[go: up one dir, main page]

Add new fixtures and context manager, update tests.

Co-authored-by: Nicolas M. Thiéry nicolas.thiery@universite-paris-saclay.fr

This merge request contains most of the new fixtures added in !166 (merged). Tests have been modified accordingly without adding new tests.

  • Improved test robustness with test (rich) course paths and names parametrised by test run id
  • new fixture utility: to_be_teared_down to mark a resource to be teared down at end of test
  • New context manager: travo.util.working_directory
  • Fixed test_collect for courses and assignments to run in a temporary directory (using the working_directory fixture)

@nthiery, if you want to have a quick look and merge, I will take care of the rebase for !166 (merged), then.

Thank you!

Merge request reports

Loading