issues
search
AdaCore
/
e3-core
Core framework for developing portable automated build systems
26
stars
36
forks
source link
Improve mock.os.process
#701
Closed
adanaja
closed
5 months ago
adanaja
commented
5 months ago
Move logic to match the actual command with the expected one to CommandResult as this will allow to tweak the default filter depending on needs.
Forward the actual command and arguments to
CommandResult.__call__
as this will allow to react to the actual command.
Add
call_count
and
all_called
for tests.
CommandResult.__call__
as this will allow to react to the actual command.call_count
andall_called
for tests.