Skip to content

Commit

Permalink
Make test results more readable
Browse files Browse the repository at this point in the history
Setting the test id for each test based on the profile it is testing
will make it easier to read the test results in Jenkins.
  • Loading branch information
kdelee committed Oct 27, 2017
1 parent da580e8 commit a889572
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion camayoc/tests/remote/rho/test_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ def profiles():


# The test will execute once per profile.
@pytest.mark.parametrize('profile', profiles())
@pytest.mark.parametrize(
'profile', profiles(),
ids=[p['name'] for p in profiles()]
)
def test_scan(isolated_filesystem, profile):
"""Scan the machines listed in profile.
Expand Down

0 comments on commit a889572

Please sign in to comment.