def METHOD_NAME(self):
    def my_pipeline():
        CreateDbfsBlockOp(
            name="createdbfsitem",
            data="cHJpbnQoImhlbGxvLCB3b3JsZCIpCgoK",
            path="/Users/user@foo.com/ScalaExampleNotebook"
        )
    self.assertRaises(ValueError, lambda: kfp.compiler.Compiler()._create_workflow(my_pipeline))