New paste Repaste Download
tmpdir = local('/tmp/pytest-of-root/pytest-10/test_load_configuration0')
    def test_load_configuration(tmpdir):
        config_filename = str(tmpdir.join('ss.conf'))
        assert ss.load_configuration(config_filename) == ss.Configuration()
    
        with open(config_filename, 'w') as f:
            lines = [
                '[ss]',
                'languages = br',
                'recursive = yes',
                'skip = on',
                'mkv = 1',
                'parallel_jobs = 4',
            ]
            f.write('\n'.join(lines))
    
        loaded = ss.load_configuration(str(tmpdir.join('ss.conf')))
>       assert loaded == ss.Configuration(['br'], recursive=True, skip=True,
                                          mkv=True, parallel_jobs=4)
E       TypeError: Configuration.__init__() got an unexpected keyword argument 'parallel_jobs'
tests/test_ss.py:213: TypeError
Filename: None. Size: 904b. View raw, , hex, or download this file.

This paste expires on 2026-04-10 08:59:12.401878+00:00. Pasted through deprecated-web.