]> arthur.barton.de Git - bup.git/commitdiff
Add lowercase versions of python wvtest commands
authorRob Browning <rlb@defaultvalue.org>
Sun, 18 Sep 2016 04:29:54 +0000 (23:29 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 4 Dec 2016 21:33:06 +0000 (15:33 -0600)
Add python wvstart, wvpass, etc. aliases for WVSTART, WVPASS, etc.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
wvtest.py

index 8a8302be10c2daec80a6768625a2183fe0930051..742534fe25b01030c1f58c8a02b06361126f496e 100755 (executable)
--- a/wvtest.py
+++ b/wvtest.py
@@ -144,6 +144,18 @@ if __name__ != '__main__':   # we're imported as a module
         else:
             return _check(False, 'EXCEPT(%s)' % _code())
 
+    wvstart = WVSTART
+    wvmsg = WVMSG
+    wvpass = WVPASS
+    wvfail = WVFAIL
+    wvpasseq = WVPASSEQ
+    wvpassne = WVPASSNE
+    wvpaslt = WVPASSLT
+    wvpassle = WVPASSLE
+    wvpassgt = WVPASSGT
+    wvpassge = WVPASSGE
+    wvexcept = WVEXCEPT
+
     def wvfailure_count():
         return _fails