Skip to content

Commit d4425de

Browse files
committed
fix: fix variable names to make it more readable
Signed-off-by: Alex Wu <c.alexwu@gmail.com>
1 parent a560e48 commit d4425de

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/flytekit/unit/core/image_spec/test_image_spec.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,11 +370,11 @@ def test_noop_builder_updates_image_name_mapping():
370370
ImageBuildEngine.register("noop", NoOpBuilder())
371371

372372
# Create an image spec with NoOpBuilder
373-
expected_real_name = "localhost:30000/test_image:latest"
373+
expected_image_name = "localhost:30000/test_image:latest"
374374
image_spec = ImageSpec(
375375
name="test_image",
376376
builder="noop",
377-
base_image=expected_real_name
377+
base_image=expected_image_name
378378
)
379379

380380
# Get the image name before building
@@ -388,7 +388,7 @@ def test_noop_builder_updates_image_name_mapping():
388388

389389
# Verify the mapping value is correct
390390
actual_real_name = ImageBuildEngine._IMAGE_NAME_TO_REAL_NAME[img_name]
391-
assert actual_real_name == expected_real_name
391+
assert actual_real_name == expected_image_name
392392

393393
# Clean up
394394
del ImageBuildEngine._REGISTRY["noop"]

0 commit comments

Comments
 (0)