Skip to content

Commit

Permalink
debug travis #1
Browse files Browse the repository at this point in the history
  • Loading branch information
fenekku committed Nov 12, 2019
1 parent 20f37d0 commit cdfaf4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions invenio_pidstore/providers/recordid_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def generate_id(cls, options=None):
'PIDSTORE_RECORDID_OPTIONS', {}
))
options.update(passed_options)
print("options", options)
length = options.get('length', 10)
split_every = options.get('split_every', 0)
checksum = options.get('checksum', True)
Expand Down
1 change: 1 addition & 0 deletions tests/test_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def test_recordid_provider_v2(app, db):
assert provider.pid
assert provider.pid.pid_type == 'recid'
pid_value = provider.pid.pid_value
print('pid_value', pid_value)
part1, part2 = pid_value.split('-')
assert len(part1) == 5
assert len(part2) == 5
Expand Down

0 comments on commit cdfaf4b

Please sign in to comment.