Skip to content

Commit eadcacc

Browse files
committed
chore: Fix up comments and test code from PR feedback
Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
1 parent 86f79ee commit eadcacc

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/openjd/model/v2023_09/_model.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,9 @@ class EmbeddedFileText(OpenJDModel_v2023_09):
473473
will have its execute-permissions set.
474474
Default: False
475475
data (FormatString): The text data to write to the file.
476-
endOfLine (Optional[EndOfLine]): Line ending style. Requires FEATURE_BUNDLE_1 extension.
476+
endOfLine (Optional[EndOfLine]): The line endings that the embedded file will have when
477+
written to disk. If AUTO the embedded file will have the default line endings of the
478+
host operating system. Requires FEATURE_BUNDLE_1 extension.
477479
Default: AUTO
478480
"""
479481

test/openjd/model/test_parse.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,15 +194,13 @@ class MockExtensionName(str, Enum):
194194
"""A mock enum with only SUPPORTED_NAME for testing."""
195195

196196
SUPPORTED_NAME = "SUPPORTED_NAME"
197-
FEATURE_BUNDLE_1 = "FEATURE_BUNDLE_1"
198197

199198

200199
class MockExtensionNameWithTwoNames(str, Enum):
201200
"""A mock enum with only SUPPORTED_NAME for testing."""
202201

203202
SUPPORTED_NAME = "SUPPORTED_NAME"
204203
ANOTHER_SUPPORTED_NAME = "ANOTHER_SUPPORTED_NAME"
205-
FEATURE_BUNDLE_1 = "FEATURE_BUNDLE_1"
206204

207205

208206
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)