def test_8(self): from music_pet.utils import parent_folder IN = u'''/''' with self.assertRaises(ValueError): parent_folder(IN)
def test_7(self): from music_pet.utils import parent_folder IN = u'''../''' OUT_EXPECTED = u'../../''' self.assertEqual(parent_folder(IN), OUT_EXPECTED)
def test_7(self): from music_pet.utils import parent_folder IN = u'''../''' OUT_EXPECTED = u'../../' '' self.assertEqual(parent_folder(IN), OUT_EXPECTED)