Project

General

Profile

Refactor #15541

Refactor job test

Added by Ondřej Pražák almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

The the verbosity of test suite can be reduced using fixtures. It also adds the benefit of having better control over the tested instance. In some test cases, Job.create does not create a job because some validations unrelated to what is being tested did not pass. This may cause problems in the future.

Also available in: Atom PDF