Pendigard's picture
Upload folder using huggingface_hub (part 85)
8f59bb3 verified
Raw History Blame Contribute Delete
419 Bytes
from django.test import TestCase
from .factories import EncodeProfileFactory
class EncodeProfileTests(TestCase):
"""
Test the EncodeProfile model.
"""
def setUp(self):
self.profile = EncodeProfileFactory()
def test_shell_command(self):
cmd = self.profile.shell_command('/dir/from', '/dir/to')
self.assertEqual(cmd, ['ffmpeg', '-y', '-i', '/dir/from', '-vn', '/dir/to'])