예제 #1
0
    def test_create(self):

        result = check_or_create_path(
            os.path.join(
                self.get_home_folder(),
                'test-folder'
            )
        )

        self.assertTrue(result)
예제 #2
0
    def test_create_multiple_levels(self):

        result = check_or_create_path(
            os.path.join(
                self.get_home_folder(),
                'test-folder',
                'subfolder'
            )
        )

        self.assertTrue(result)
예제 #3
0
    def test_create_multiple_levels(self):

        result = check_or_create_path(
            os.path.join(self.get_home_folder(), 'test-folder', 'subfolder'))

        self.assertTrue(result)
예제 #4
0
    def test_create(self):

        result = check_or_create_path(
            os.path.join(self.get_home_folder(), 'test-folder'))

        self.assertTrue(result)