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.
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.