HomeClusterLabs Projects

Refactor: cts: Drop CTSTest.templates

Description

Refactor: cts: Drop CTSTest.templates

It's redundant. It's exactly the same as _cm.templates, except that
it's separate instance. Nothing modifies either instance after creation,
so it should be fine.

(Ideally this would be something like a const variable, so that the
templates can't be modified after instantiation.)

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Sun, Aug 17, 10:51 PM
Parents
rPb9cd664af606: Refactor: cts: Drop PatternSelector.get_template()
Branches
Unknown
Tags
Unknown