learningequality / learningequality/studio

Test that apI_add_nodes_to_tree (internal.py) adds slides when slideshow data provided

Open
#1,419 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

TAG: unit tests
Dominant language
Python
Stars
191
Forks
307
Avg merge
5d 6h
Merged PRs (30d)
10

Description

Also should test error handling in case of invalid extra_fields data being passed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the apI_add_nodes_to_tree entry point in internal.py and inspect its existing test coverage. Add tests for slideshow data adding slides and for invalid extra_fields handling, then run the relevant Python test suite to confirm both cases are covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.