'Test parsing of subtracks defined inside a index track that are
physical subtracks (ie. should not be grouped together).'

def test_parse_tracklist_subtracks_nested_physical(self):

    release = self._make_release_from_positions(['1', '', '4'])
    release.data['tracklist'][1]['title'] = 'TRACK    GROUP    TITLE'
    release.data['tracklist'][1]['sub_tracks'] = [self._make_track('TITLE    ONE', '2', '01:01'), self._make_track('TITLE    TWO', '3', '02:02')]
    d = DiscogsPlugin().get_album_info(release)
    self.assertEqual(d.mediums, 1)
    self.assertEqual(len(d.tracks), 4)
    self.assertEqual(d.tracks[1].title, 'TITLE    ONE')
    self.assertEqual(d.tracks[2].title, 'TITLE    TWO')
