Skip to content

Commit

Permalink
update unittest for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaodong-ji committed Aug 6, 2024
1 parent fd66617 commit 6cbe339
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_ssh_client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Test Ssh Client

on:
push:
branches: "*"
branches: "dev*"
pull_request:
branches: "*"
branches: "dev*"

jobs:
build:
Expand Down
Empty file removed test/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion test/common/ssh_client/test_remote_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def test_exec_cmd_failure(self):
# Define a command that will produce an error
cmd = "echo 'Error'"

# Execute the command and catch the exception
# Execute the command and catch the exception
with self.assertRaises(Exception):
self.remote_client.exec_cmd(cmd)

Expand Down

0 comments on commit 6cbe339

Please sign in to comment.