Skip to content

Commit 0ae3a79

Browse files
himani2411Himani Deshpande
andauthored
[Test] Removing colour from output of ip command (#6586)
Co-authored-by: Himani Deshpande <himanidp@amazon.com>
1 parent e85cfd5 commit 0ae3a79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration-tests/tests/multiple_nics/test_multiple_nics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def _test_head_node_nics(remote_command_executor, region):
5454
).stdout
5555

5656
head_node_ip_addresses = _get_private_ip_addresses(head_node_instance_id, region, remote_command_executor)
57-
ip_a_result = remote_command_executor.run_remote_command("ip a").stdout
57+
ip_a_result = remote_command_executor.run_remote_command("ip a | col -b").stdout
5858

5959
for ip_address in head_node_ip_addresses:
6060
assert_that(ip_a_result).matches(".* inet {0}.*".format(ip_address))

0 commit comments

Comments
 (0)