def test_check_that_item_does_not_exist_and_parent_drive_does_not_exist(self): fs = FileSystem() self.assertFalse(fs.exists("home\\test_folder"))
def test_check_that_parent_of_file_does_not_exist(self): fs = FileSystem() self.assertFalse(fs.exists("home\\test_folder\\test1.txt"))
def test_check_that_file_does_not_exist(self): fs = FileSystem() fs.create_drive("home") self.assertFalse(fs.exists("home\\test1.txt"))