Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/b/a/babelsubs-HEAD/babelsubs/tests/test_format_registry.py   babelsubs(Download)
from unittest2 import TestCase
from babelsubs import get_available_formats
from babelsubs.parsers import base, discover
from babelsubs.parsers.base import ParserList
from babelsubs.generators.base import GeneratorList
    def test_available_formats(self):
        actual_formats = sorted(get_available_formats())
        expected_formats = sorted(['ass',  'srt', 'dfxp', 'ssa', 'sbv', 'txt', 'json', 'vtt', 'xml'])
        self.assertEqual(actual_formats, expected_formats)