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

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/m/p/mp3organiser-0.2dev/mp3organiser/test/test_mp3organiser.py   mp3organiser(Download)
    def test_guess_artist_and_title(self):
        (certain, info) = mp3organiser.guess_artist_and_title('Artist - Title')
        self.assertTrue(certain)
        self.assertEqual(info, [{'artist': 'Artist', 'title': 'Title'}])
 
    def test_guess_artist_and_title_with_folder(self):
        (certain, info) = mp3organiser.guess_artist_and_title('Title',
    def test_guess_artist_and_title_folder_with_one_level(self):
        (certain, info) = mp3organiser.guess_artist_and_title('Title',
                                                              'Artist/')
        self.assertTrue(certain)
        self.assertEqual(info,
                [{'artist': 'Artist', 'title': 'Title'}])
 
    def test_guess_artist_and_title_with_unnormalised_folder(self):
        (certain, info) = mp3organiser.guess_artist_and_title('Title',
    def test_guess_artist_and_title_folder_and_hypen(self):
        (certain, info) = mp3organiser.guess_artist_and_title('A - Title',
                                                              'Artist/Album')
        self.assertFalse(certain)
        self.assertEqual(info,