Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(tests): fix schema tests #2154

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sefaria/model/tests/schema_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def test_nodes_missing_content():
root_node.validate()
test_index = Index({
'title': 'test text',
'categories': ['Other'],
'categories': ['Tanakh'],
'schema': root_node.serialize()
})
test_index.save()
Expand Down
6 changes: 3 additions & 3 deletions sefaria/model/tests/text_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def test_text_helpers():
'Akeidat Yitzchak',
'Berakhot']
],
['Exodus', None, False, ['Ibn Ezra on Exodus; Perush HaArokh',
['Exodus', None, False, ['Ibn Ezra on Exodus',
'Ramban on Exodus',
'Abarbanel on Torah',
'Meshekh Chokhmah',
Expand All @@ -364,7 +364,7 @@ def test_text_helpers():
], ['Exodus',
'Rashi on Genesis']
],
['Exodus', 'Commentary', False, ['Ibn Ezra on Exodus; Perush HaArokh',
['Exodus', 'Commentary', False, ['Ibn Ezra on Exodus',
'Ramban on Exodus',
'Abarbanel on Torah',
'Meshekh Chokhmah',
Expand All @@ -374,7 +374,7 @@ def test_text_helpers():
'Exodus',
'Rashi on Genesis']
],
['Exodus', 'Commentary', True, ['Ibn Ezra on Exodus; Perush HaArokh',
['Exodus', 'Commentary', True, ['Ibn Ezra on Exodus',
'Ramban on Exodus'
], ['Abarbanel on Torah',
'Meshekh Chokhmah',
Expand Down
Loading