Write tests for YouTube metadata

This commit is contained in:
Ritiek Malhotra
2020-03-27 04:33:00 +05:30
parent c9a804268d
commit 68c25e2aaa
25 changed files with 411 additions and 55 deletions

View File

@@ -3,7 +3,6 @@ from spotdl.encode.exceptions import EncoderNotFoundError
import pytest
class TestAbstractBaseClass:
def test_error_abstract_base_class_encoderbase(self):
encoder_path = "ffmpeg"
@@ -27,15 +26,9 @@ class TestAbstractBaseClass:
def _generate_encoding_arguments(self):
pass
def get_encoding(self):
pass
def re_encode(self):
pass
def set_argument(self):
pass
def set_debuglog(self):
pass
@@ -52,21 +45,15 @@ class TestMethods:
def __init__(self, encoder_path, _loglevel, _additional_arguments):
super().__init__(encoder_path, _loglevel, _additional_arguments)
def _generate_encode_command(self, input_file, output_file):
def _generate_encode_command(self, input_file, target_file):
pass
def _generate_encoding_arguments(self, input_encoding, output_encoding):
def _generate_encoding_arguments(self, input_encoding, target_encoding):
pass
def get_encoding(self, filename):
return super().get_encoding(filename)
def re_encode(self, input_encoding, output_encoding):
def re_encode(self, input_encoding, target_encoding):
pass
def set_argument(self, argument):
super().set_argument(argument)
def set_debuglog(self):
pass