Skip to content

Commit

Permalink
resolve PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pra-moh committed Apr 8, 2020
1 parent 22c0977 commit 44031a1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_features.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import pytest
import logging

logger = logging.getLogger(__name__)

def get_dict_stdout(cmd_out):
"""Extract dictionary from show features command output
"""
Expand All @@ -27,7 +25,7 @@ def get_status_redisout(status_out):
def test_show_features(duthost):
"""Verify show features command output against CONFIG_DB
"""
features_stdout = duthost.shell('show features', module_ignore_errors=True)['stdout_lines']
features_stdout = duthost.shell('show features', module_ignore_errors=False)['stdout_lines']
features_dict = get_dict_stdout(features_stdout)
for k,v in features_dict.items():
feature = str(k)
Expand Down

0 comments on commit 44031a1

Please sign in to comment.