Skip to content

Commit

Permalink
tests_metadata.py fixed lint-server E226 missing whitespace around ar…
Browse files Browse the repository at this point in the history
…ithmetic operator

Signed-off-by: Sven Thoms <[email protected]>
  • Loading branch information
shalberd committed Dec 20, 2024
1 parent eba4211 commit 4ef351e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion elyra/tests/metadata/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ def test_validation_performance():
print(
f"\nMemory: {diff:,} kb, Start: {memory_start.rss / 1024 / 1024:,.3f} mb, "
f"End: {memory_end.rss / 1024 / 1024:,.3f} mb., "
f"Elapsed time: {t1-t0:.3f}s over {iterations} iterations."
f"Elapsed time: {t1 - t0:.3f}s over {iterations} iterations."
)


Expand Down
2 changes: 1 addition & 1 deletion elyra/tests/util/test_kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def test_is_valid_label_key_invalid_input():
assert not is_valid_label_key(key="/n") # prefix too short
assert not is_valid_label_key(key="p/") # name too short
assert not is_valid_label_key(key="a" * 254) # name too long
assert not is_valid_label_key(key=f"d/{'b'*64}") # name too long
assert not is_valid_label_key(key=f"d/{'b' * 64}") # name too long
# test first character violations (not alphanum)
assert not is_valid_label_key(key="-a")
assert not is_valid_label_key(key=".b")
Expand Down

0 comments on commit 4ef351e

Please sign in to comment.