Skip to content

Refactoring with new utility method, add new unittests

Jan Hendrik Ebbing requested to merge jebbing/ILCDIRAC:more_unittests into Rel-v26r0
  • New tests for StdHepCut & StdHepSplit in Workflow/Modules, TransformationPlugin, OverlayDB, ReleaseHelper
  • New utility method shortens assertions on mock calls - should only be used for >1 calls
  • Various cleanups (whitespace, removed unused imports, ...)
  • Replace sys.module mocking with a patch.dict mock (advantage of limited scope, doesn't rely on py.test internals)
  • Slight performance improvements (e.g. mock out logWorkingDirectory call that calls ls -laR)
  • Fix SETests to use correct Xroot protocol

Merge request reports