Jforrester has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/240090

Change subject: Assert that '1.23.0-wmf.6' and '1.23.0-wmf.6' both work
......................................................................

Assert that '1.23.0-wmf.6' and '1.23.0-wmf.6' both work

Change-Id: I0f3abd131ab796c295f88cbdad4c64494191ea60
---
M utils.py
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/forrestbot 
refs/changes/90/240090/1

diff --git a/utils.py b/utils.py
index cf455e6..9c430b3 100644
--- a/utils.py
+++ b/utils.py
@@ -1,7 +1,11 @@
 def wmf_number(branchname):
     """
+    >>> wmf_number('1.27.0-wmf.21')
+    12721
     >>> wmf_number('1.27.0-wmf21')
     12721
+    >>> wmf_number('1.27.0-wmf.1')
+    12701
     >>> wmf_number('1.27.0-wmf1')
     12701
     >>> wmf_number('1.26wmf10')

-- 
To view, visit https://gerrit.wikimedia.org/r/240090
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0f3abd131ab796c295f88cbdad4c64494191ea60
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/forrestbot
Gerrit-Branch: master
Gerrit-Owner: Jforrester <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to