Exemple #1
0
    def test_check_that_item_does_not_exist_and_parent_drive_does_not_exist(self):
        fs = FileSystem()

        self.assertFalse(fs.exists("home\\test_folder"))
Exemple #2
0
    def test_check_that_parent_of_file_does_not_exist(self):
        fs = FileSystem()

        self.assertFalse(fs.exists("home\\test_folder\\test1.txt"))
Exemple #3
0
    def test_check_that_file_does_not_exist(self):
        fs = FileSystem()
        fs.create_drive("home")

        self.assertFalse(fs.exists("home\\test1.txt"))