Skip to content

Commit

Permalink
Merge pull request #11 from Narodni-repozitar/contributor-types-renamed
Browse files Browse the repository at this point in the history
Contributor roles renamed to contributor types
  • Loading branch information
mesemus authored Feb 29, 2024
2 parents 1a253c3 + f6429ec commit 1ce86e5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions nr_vocabularies/fixtures/catalogue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ vocabulary-access-rights:
en: Access rights
- source: access-rights.xlsx

vocabulary-contributor-roles:
vocabulary-contributor-types:
- writer: vocabulary
vocabulary: contributor-roles
vocabulary: contributor-types
pid_type: v-ct
title:
cs: Role přispěvatele
en: Contributor Type
- source: contributor-roles.xlsx
- source: contributor-types.xlsx

vocabulary-countries:
- writer: vocabulary
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[metadata]
name = nr-vocabularies
version = 2.0.8
version = 2.0.9
description = A sample application for nr_vocabularies
long_description = Model builder plugin containing model definition of nr-vocabularies
authors = Alzbeta Pokorna <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion tests/test_import_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def test_complex_import_export(app, db, cache, search_clear, vocab_cf):
load_fixtures(batch_size=100, callback=load_callback)
assert load_callback.failed_entries_count == 0
assert load_callback.filtered_entries_count == 0
assert load_callback.ok_entries_count == 2713
assert load_callback.ok_entries_count == 2677
Vocabulary.index.refresh()

with tempfile.TemporaryDirectory() as d:
Expand Down

0 comments on commit 1ce86e5

Please sign in to comment.