Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #8227 from xlab-si/feature/redfish-events
Browse files Browse the repository at this point in the history
[1LP][RFR] Add a test for events in Redfish physical infrastructure provider
  • Loading branch information
mshriver committed Dec 13, 2018
2 parents 57c0d46 + 8375a76 commit 7729da9
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
"""This module tests Redfish physical infrastructure events."""
import pytest

from cfme.physical.provider.redfish import RedfishProvider


pytestmark = [
pytest.mark.provider([RedfishProvider], scope="function"),
]

# Name of the source for the events related to the Redfish provider
SOURCE = 'REDFISH'


def test_get_redfish_events_any(setup_provider_funcscope, register_event):
"""
Test that the provider accounts for any Redfish-related event.
The test assumes that events are generated regularly without needing to
trigger any action.
"""
register_event(source=SOURCE)

0 comments on commit 7729da9

Please sign in to comment.