mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Tests: Updated frmaework to override confirmation
This commit is contained in:
parent
e87bfa4616
commit
5ed0981580
1 changed files with 2 additions and 2 deletions
|
@ -65,13 +65,13 @@ class Timew(object):
|
|||
# Add -- to avoid misinterpretation of - in things like UUIDs
|
||||
# TODO Revisit this decision as timew matures.
|
||||
#cmd = (self.timew, "config", "--", var, value)
|
||||
cmd = (self.timew, "config", var, value)
|
||||
cmd = (self.timew, ":yes", "config", var, value)
|
||||
return run_cmd_wait(cmd, env=self.env, input="y\n")
|
||||
|
||||
def del_config(self, var):
|
||||
"""Remove `var` from timew config
|
||||
"""
|
||||
cmd = (self.timew, "config", var)
|
||||
cmd = (self.timew, ":yes", "config", var)
|
||||
return run_cmd_wait(cmd, env=self.env, input="y\n")
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue