def test_subtitle_list_relative_path(self, execute_task):
        execute_task('subtitle_path_relative')

        with Session() as session:
            s = session.query(SubtitleListFile).first()
            assert s, 'The file should have been added to the list'
            assert s.location == normalize_path('subtitle_list_test_dir/The.Walking.Dead.S06E08-FlexGet.mp4'), \
                'location should be what the output field was set to'
    def test_subtitle_list_relative_path(self, execute_task):
        execute_task('subtitle_path_relative')

        with Session() as session:
            s = session.query(SubtitleListFile).first()
            assert s, 'The file should have been added to the list'
            assert s.location == normalize_path(
                'subtitle_list_test_dir/The.Walking.Dead.S06E08-FlexGet.mp4'
            ), 'location should be what the output field was set to'