mitodl / ocw-studio

Open Source Courseware authoring tool
BSD 3-Clause "New" or "Revised" License
9 stars 3 forks source link

Add units tests for video copying management command #2126

Closed pt2302 closed 3 months ago

pt2302 commented 4 months ago

Description/Context

In https://github.com/mitodl/ocw-studio/pull/2120, a management command for copying videos from one course to another was introduced. However, this PR did not include unit tests for the command. Since this command is quite complex, there should be unit tests added for testing the relevant functionality.

Plan/Design

The unit tests should verify that everything works in the various possible situations in which the management command could be called, including for courses that have Google Drive files associated with the videos and captions/transcripts.