Skip to content

Commit

Permalink
remove/replace some skipped tests
Browse files Browse the repository at this point in the history
  • Loading branch information
idevat committed Jan 24, 2018
1 parent aa40521 commit 1fff051
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 109 deletions.
15 changes: 15 additions & 0 deletions pcs/lib/commands/test/remote_node/test_node_add_remote.py
Expand Up @@ -273,6 +273,21 @@ def test_fails_when_remote_node_is_not_prepared(self):
]
)

def test_fails_when_remote_node_returns_invalid_output(self):
(self.config
.local.load_cluster_configs(cluster_node_list=[NODE_1, NODE_2])
.local.check_node_availability(REMOTE_HOST, output="INVALID_OUTPUT")
)
self.env_assist.assert_raise_library_error(
lambda: node_add_remote(self.env_assist.get_env()),
[
fixture.error(
report_codes.INVALID_RESPONSE_FORMAT,
node=REMOTE_HOST,
)
]
)

def test_open_failed(self):
(self.config
.local.load_cluster_configs(cluster_node_list=[NODE_1, NODE_2])
Expand Down
109 changes: 0 additions & 109 deletions pcs/lib/test/test_nodes_task.py

This file was deleted.

0 comments on commit 1fff051

Please sign in to comment.