Commit 1c27e371 authored by baberabb's avatar baberabb
Browse files

typo

parent 58aa729f
......@@ -54,4 +54,4 @@ jobs:
# pip install bleurt@https://github.com/google-research/bleurt/archive/b610120347ef22b494b6d69b4316e303f5932516.zip#egg=bleurt
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
run: python -m pytest -s -v -n=auto tests/test_evaluator.py
run: python -m pytest -s -v -n=auto tests/test_evaluator.py tests/test_tasks.py
......@@ -17,7 +17,7 @@ def limit(limit=10):
def test_download(task_class):
task_class().download()
assert task_class.dataset is not None
assert task_class().dataset is not None
def test_has_training_docs(task_class):
......@@ -37,15 +37,15 @@ def test_check_validation_docs(task_class):
def test_has_test_docs(task_class):
assert task_class.has_training_docs() in [True, False]
assert task_class().has_training_docs() in [True, False]
def test_check_test_docs(task_class):
assert task_class.has_training_docs()
assert task_class().has_training_docs()
def test_should_decontaminate(task_class):
assert task_class.should_decontaminate() in [True, False]
assert task_class().should_decontaminate() in [True, False]
def test_doc_to_text(task_class, limit):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment