def add_directory(args): Directory.create(**args)
def setUp(self): self.path = SystemTest.get_testing_directory() / "arbitrary_directory" Directory.create(self.path)
def test_create(self): self.assert_directory_does_not_exist(self.path) Directory.create(self.path) self.assert_directory_exists(self.path)
def test_remove_nested_directory(self): Directory.create(self.path / "nested") Directory.remove(self.path) self.assert_directory_does_not_exist(self.path)
def add(self, name): Directory.create(parentId=1, name=name, type='$') return "ok"