lordgamez commented on code in PR #2071:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2071#discussion_r2665495106
##########
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:
Yes, we initialize it to an empty dictionary on line 21.
--
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]