Пример #1
0
    def test_8(self):
        from music_pet.utils import parent_folder

        IN = u'''/'''

        with self.assertRaises(ValueError):
            parent_folder(IN)
Пример #2
0
    def test_8(self):
        from music_pet.utils import parent_folder

        IN = u'''/'''

        with self.assertRaises(ValueError):
            parent_folder(IN)
Пример #3
0
    def test_7(self):
        from music_pet.utils import parent_folder

        IN = u'''../'''
        OUT_EXPECTED = u'../../'''

        self.assertEqual(parent_folder(IN), OUT_EXPECTED)
Пример #4
0
    def test_7(self):
        from music_pet.utils import parent_folder

        IN = u'''../'''
        OUT_EXPECTED = u'../../' ''

        self.assertEqual(parent_folder(IN), OUT_EXPECTED)