diff --git a/napalm/eos/eos.py b/napalm/eos/eos.py index 71f5c5743..ead9634bb 100644 --- a/napalm/eos/eos.py +++ b/napalm/eos/eos.py @@ -1679,7 +1679,7 @@ def _sshkey_type(sshkey): users = {} - commands = ["show user-account"] + commands = ["show users account"] user_items = self._run_commands(commands)[0].get("users", {}) for user, user_details in user_items.items(): diff --git a/test/eos/mocked_data/test_get_users/no_sshkey/show_user_account.json b/test/eos/mocked_data/test_get_users/no_sshkey/show_users_account.json similarity index 100% rename from test/eos/mocked_data/test_get_users/no_sshkey/show_user_account.json rename to test/eos/mocked_data/test_get_users/no_sshkey/show_users_account.json diff --git a/test/eos/mocked_data/test_get_users/normal/show_user_account.json b/test/eos/mocked_data/test_get_users/normal/show_users_account.json similarity index 100% rename from test/eos/mocked_data/test_get_users/normal/show_user_account.json rename to test/eos/mocked_data/test_get_users/normal/show_users_account.json