aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gsxws/core.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gsxws/core.py b/gsxws/core.py
index 0bf5308..67cf181 100644
--- a/gsxws/core.py
+++ b/gsxws/core.py
@@ -103,6 +103,10 @@ def validate(value, what=None):
>>> validate('XD368Z/A', 'partNumber')
True
+ >>> validate('ZM661-5883', 'partNumber')
+ True
+ >>> validate('B661-6909', 'partNumber')
+ True
>>> validate('blaa', 'serialNumber')
False
>>> validate('MacBook Pro (Retina, Mid 2012)', 'productName')