613a4c9b304d1d4a810854e58711d4854a90afe1,utils/tests/tests.py,AudioProcessingTestCase,test_skip_displays,#AudioProcessingTestCase#,813

Before Change


    @override_previews_path_with_temp_directory
    @override_displays_path_with_temp_directory
    def test_skip_displays(self, *args):
        tmp_directory = self.pre_test()
        result = FreesoundAudioProcessor(sound_id=Sound.objects.first().id, tmp_directory=tmp_directory) \
            .process(skip_displays=True)

        self.assertTrue(os.path.exists(self.sound.locations("preview.LQ.ogg.path")))

After Change


    @override_previews_path_with_temp_directory
    @override_displays_path_with_temp_directory
    def test_skip_displays(self, *args):
        self.pre_test()
        result = FreesoundAudioProcessor(sound_id=Sound.objects.first().id) \
            .process(skip_displays=True)

        self.assertTrue(os.path.exists(self.sound.locations("preview.LQ.ogg.path")))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 15

Non-data size: 3

Instances


Project Name: MTG/freesound
Commit Name: 613a4c9b304d1d4a810854e58711d4854a90afe1
Time: 2019-04-26
Author: frederic.font@upf.edu
File Name: utils/tests/tests.py
Class Name: AudioProcessingTestCase
Method Name: test_skip_displays


Project Name: MTG/freesound
Commit Name: 613a4c9b304d1d4a810854e58711d4854a90afe1
Time: 2019-04-26
Author: frederic.font@upf.edu
File Name: utils/tests/tests.py
Class Name: AudioAnalysisTestCase
Method Name: test_analysis_created_analysis_files


Project Name: MTG/freesound
Commit Name: 613a4c9b304d1d4a810854e58711d4854a90afe1
Time: 2019-04-26
Author: frederic.font@upf.edu
File Name: utils/tests/tests.py
Class Name: AudioProcessingTestCase
Method Name: test_set_audio_info_fields


Project Name: MTG/freesound
Commit Name: 613a4c9b304d1d4a810854e58711d4854a90afe1
Time: 2019-04-26
Author: frederic.font@upf.edu
File Name: utils/tests/tests.py
Class Name: AudioProcessingTestCase
Method Name: test_make_mp3_previews_fails


Project Name: MTG/freesound
Commit Name: 613a4c9b304d1d4a810854e58711d4854a90afe1
Time: 2019-04-26
Author: frederic.font@upf.edu
File Name: utils/tests/tests.py
Class Name: AudioProcessingTestCase
Method Name: test_sound_path_does_not_exist


Project Name: MTG/freesound
Commit Name: 613a4c9b304d1d4a810854e58711d4854a90afe1
Time: 2019-04-26
Author: frederic.font@upf.edu
File Name: utils/tests/tests.py
Class Name: AudioAnalysisTestCase
Method Name: test_analysis_created_analysis_files


Project Name: MTG/freesound
Commit Name: 613a4c9b304d1d4a810854e58711d4854a90afe1
Time: 2019-04-26
Author: frederic.font@upf.edu
File Name: utils/tests/tests.py
Class Name: AudioAnalysisTestCase
Method Name: test_sound_path_does_not_exist


Project Name: MTG/freesound
Commit Name: 613a4c9b304d1d4a810854e58711d4854a90afe1
Time: 2019-04-26
Author: frederic.font@upf.edu
File Name: utils/tests/tests.py
Class Name: AudioProcessingTestCase
Method Name: test_no_need_to_convert_to_pcm


Project Name: MTG/freesound
Commit Name: 613a4c9b304d1d4a810854e58711d4854a90afe1
Time: 2019-04-26
Author: frederic.font@upf.edu
File Name: utils/tests/tests.py
Class Name: AudioProcessingTestCase
Method Name: test_stereofy_failed


Project Name: MTG/freesound
Commit Name: 613a4c9b304d1d4a810854e58711d4854a90afe1
Time: 2019-04-26
Author: frederic.font@upf.edu
File Name: utils/tests/tests.py
Class Name: AudioProcessingTestCase
Method Name: test_create_images_fails


Project Name: MTG/freesound
Commit Name: 613a4c9b304d1d4a810854e58711d4854a90afe1
Time: 2019-04-26
Author: frederic.font@upf.edu
File Name: utils/tests/tests.py
Class Name: AudioProcessingTestCase
Method Name: test_conversion_to_pcm_failed


Project Name: MTG/freesound
Commit Name: 613a4c9b304d1d4a810854e58711d4854a90afe1
Time: 2019-04-26
Author: frederic.font@upf.edu
File Name: utils/tests/tests.py
Class Name: AudioAnalysisTestCase
Method Name: test_conversion_to_pcm_failed


Project Name: MTG/freesound
Commit Name: 613a4c9b304d1d4a810854e58711d4854a90afe1
Time: 2019-04-26
Author: frederic.font@upf.edu
File Name: utils/tests/tests.py
Class Name: AudioAnalysisTestCase
Method Name: test_big_pcm_file_is_not_analyzed


Project Name: MTG/freesound
Commit Name: 613a4c9b304d1d4a810854e58711d4854a90afe1
Time: 2019-04-26
Author: frederic.font@upf.edu
File Name: utils/tests/tests.py
Class Name: AudioProcessingTestCase
Method Name: test_make_ogg_previews_fails


Project Name: MTG/freesound
Commit Name: 613a4c9b304d1d4a810854e58711d4854a90afe1
Time: 2019-04-26
Author: frederic.font@upf.edu
File Name: utils/tests/tests.py
Class Name: AudioProcessingTestCase
Method Name: test_skip_previews