Skip to content

Commit c870261

Browse files
committed
Treat result as a dict
1 parent c8766fd commit c870261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/foreman/destructive/test_remoteexecution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def test_positive_ssh_ca_sat_only(ca_sat, rhel_contenthost):
278278
register_host(sat, host)
279279
result = test_execution(sat, host)
280280
# assert the run actually happened and it was authenticated using cert
281-
assert result.status == 0
281+
assert result['success'] == '1'
282282
logger.debug(result)
283283
assert log_compare(sat, host) == 0
284284
check = host.execute('grep rex_passed /root/test')

0 commit comments

Comments
 (0)