GithubHelp home page GithubHelp logo

Comments (3)

AtKristijan avatar AtKristijan commented on June 14, 2024

tests/test_exercises.py::test_exercise_graphie_filename
E AssertionError: wrong filename for _ExerciseGraphieFile E assert 'ee76848822bf...078b6.graphie' == 'ea2269bb5cf4...6fbc7.graphie' E - ea2269bb5cf487f8d883144b9c06fbc7.graphie E + ee76848822bf710e037999e9148078b6.graphie

tests/test_files.py::test_convertible_substitles_ar_ttml
E AssertionError: conferted filename must exit E assert None

tests/test_files.py::test_convertible_substitles_noext_subtitlesformat
E AssertionError: conferted filename must exit E assert None

tests/test_thumbnails.py::TestThumbnailGeneration::test_generate_thumbnail_from_pdf
E AssertionError: expected two filenames E assert 1 == 2 E + where 1 = len(['b976c31a7ab68a97f12541d661245238.pdf'])

tests/media_utils/test_thumbnails.py::Test_pdf_thumbnail_generation::test_generates_thumbnail
E FileNotFoundError: [WinError 2] The system cannot find the file specified

tests/media_utils/test_thumbnails.py::Test_pdf_thumbnail_generation::test_generates_16_9_thumbnail
E ricecooker.utils.images.ThumbnailGenerationError: Fail on PDF C:\projects\learning_equallity\ricecooker\tests\media_utils\files\generate_thumbnail\sampl e.pdf Unable to get page count. Is poppler installed and in PATH?

Detailed errors from running the tests

from ricecooker.

AtKristijan avatar AtKristijan commented on June 14, 2024

test_exercise_graphie_filename

function process_file is failing because generate_graphie_file can not find the path for the file "tests/testcontent/exercises/eb3f3bf7c317408ee90995b5bcf4f3a59606aedd"
The file is found if we use "testcontent/exercises/eb3f3bf7c317408ee90995b5bcf4f3a59606aedd"

@pytest.fixture def exercise_graphie_filename(): return "ea2269bb5cf487f8d883144b9c06fbc7.graphie"
This is wrong its not returning this graphie
Expected :ea2269bb5cf487f8d883144b9c06fbc7.graphie Actual :ee76848822bf710e037999e9148078b6.graphie

from ricecooker.

AtKristijan avatar AtKristijan commented on June 14, 2024

This is for test test_convertible_substitles_ar_ttml

files.py > write_and_get_hash > return > File failed to write (corrupted).

from ricecooker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.