szaszm commented on code in PR #2071:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2071#discussion_r2600255004


##########
behave_framework/src/minifi_test_framework/containers/directory.py:
##########
@@ -16,10 +16,12 @@
 #
 
 class Directory:
-    def __init__(self, path):
+    def __init__(self, path, files: dict[str, str] | None = None, mode="rw"):
         self.path = path
         self.files: dict[str, str] = {}
-        self.mode = "rw"
+        if files is not None:
+            self.files = files

Review Comment:
   Wouldn't we want to initialize it to an empty dictionary when `files` is not 
injected?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to