Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S slapos.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 38
    • Merge requests 38
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slapos.core
  • Merge requests
  • !72

WIP: Fix mock usage in tests

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Jérome Perrin requested to merge jerome/slapos.core:fix/mock-leak-break-tests into master Dec 11, 2018
  • Overview 6
  • Commits 4
  • Pipelines 1
  • Changes 2

Fix problems introduced in 1c5e918a :

  • mock cleanup was not correctly used
  • code was indented with 4 spaces

Also use different partition ids in each tests so that it's easier to detect this kind of isolation problems and to understand where it comes from.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix/mock-leak-break-tests
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7