reworked command processing, "show" aliases to "status", updated tests to pass
This commit is contained in:
1 parent
2bce1b33e1
commit
6a982d3a8c
2 files changed
+74
-56
No files matched your search
@@ -29,15 +29,16 @@ def main():
|
||||
testcmd('fill', 'fill', '')
|
||||
testcmd('adjust', 'adjust', '')
|
||||
testcmd('2 report', 'report', '')
|
||||
testcmd('show', 'show', '')
|
||||
testcmd('show', 'status', '')
|
||||
testcmd('5pm out', 'out', '')
|
||||
testcmd('show 45h', 'show', '45h')
|
||||
testcmd('st 45h', 'status', '45h')
|
||||
testcmd('fill 40h', 'fill', '40h')
|
||||
testcmd('-10m arlx', 'start', 'arlx')
|
||||
testcmd(' adjust -10m ', 'adjust', '-10m')
|
||||
testcmd(' 9:45 wr: nog: pbit ram test ',
|
||||
'start', 'wr: nog: pbit ram test')
|
||||
testcmd('12/14,3pm start arlx', 'start', 'arlx')
|
||||
testcmd('12/14 3pm start arlx', 'start', 'arlx')
|
||||
testcmd('yesterday 7P out', 'out', '')
|
||||
if n_tests == n_pass:
|
||||
print " >= SUCCESS <="
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user