Skip to content

Commit

Permalink
Merge pull request #101 from arista-eosplus/fix-systest-client
Browse files Browse the repository at this point in the history
fix systest case to accommodate EOS error text
  • Loading branch information
phil-dileo authored Sep 8, 2016
2 parents 13bdc0b + 17c1b7c commit bc1326b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/system/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,17 +183,15 @@ def test_exception_trace(self):
# To reload the machine over the API, please use 'reload now' instead
cases.append(('reload', rfmt
% (1004, 'incompatible command',
'Command not permitted via API access. To reload '
'the machine over the API, please include the'
' `force` keyword.')))
'Command not permitted via API access..*')))
# Send a continuous command that requires a break
cases.append(('watch 10 show int e1 count rates', rfmt
% (1000, 'could not run command',
'init error \(cbreak\(\) returned ERR\)')))
# Send a command that has insufficient priv
cases.append(('show running-config', rfmt
% (1002, 'invalid command',
'Invalid input (privileged mode required)')))
'Invalid input \(privileged mode required\)')))


for dut in self.duts:
Expand Down

0 comments on commit bc1326b

Please sign in to comment.