File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ def test_config(self):
197
197
198
198
def test_validate (self ):
199
199
"""Using check digit"""
200
- noid = 'xg64G'
200
+ noid = pynoid . mint ( template = 'zeeeek' )
201
201
cli .cli (f"noid -v -V { noid } " )
202
202
sys .stdout = sys .stderr = io .StringIO ()
203
203
pynoid .main ()
@@ -321,8 +321,8 @@ def test_mint_z_rollover(self):
321
321
322
322
def test_validate_valid (self ):
323
323
"""Given some valid noids check that they are valid"""
324
- valid = 'test31wqw0ws8 '
325
- valid_scheme = 'ark:/test31wqw0ws8 '
324
+ valid = 'test31wqw0ws7 '
325
+ valid_scheme = 'ark:/test31wqw0ws7 '
326
326
self .assertTrue (pynoid .validate (valid ))
327
327
self .assertTrue (pynoid .validate (valid_scheme ))
328
328
@@ -335,7 +335,7 @@ def test_validate_invalid(self):
335
335
336
336
def test_checkdigit (self ):
337
337
"""The check digit is sensitive to permutations"""
338
- self .assertEqual ('1Kw ' , pynoid .mint ('eek' , 100 ))
338
+ self .assertEqual ('1Hs ' , pynoid .mint ('eek' , 100 ))
339
339
self .assertFalse (pynoid .validate ('K1w' ))
340
340
341
341
You can’t perform that action at this time.
0 commit comments