Skip to content
Snippets Groups Projects

Ensure server tests and fixtures properly clean up the global flask app

The global variable vault gets reused across test runs, so it needs to be reset on fixture/test teardown, or any potential new config may not be taken into account, which can in turn generate confusing postgresql connection closures.

Depends on !141 (closed)

Test Plan

pytest with pytest-random-order


Migrated from D7292 (view on Phabricator)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading