Skip to content
Commit 8754e529 authored by Douglas Raillard's avatar Douglas Raillard
Browse files

lisa.tests.scheduler.misfit: Remove __init__ and dispatch in properties

Doing work in __init__ means it can raise exceptions, leading to no object being
created, which prevents easy reproduction of the issue by re-running the test on
the serialized objects (since there are no objects).

Instead, dispatch the attributes in properties that are computed as needed by
the test methods.
parent b2b66ba9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment