MatchesStructure.fromExample is used incorrectly in test_nodegroup

Bug #1059284 reported by Gavin Panella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Raphaël Badin

Bug Description

MatchesStructure.fromExample(example, *attributes) does nothing if attributes is empty, which is fairly counter-intuitive and a bug in itself imo, but that's what's happening in test_nodegroup. As a result some of the tests are well out of date.

Tags: tech-debt

Related branches

Raphaël Badin (rvb)
Changed in maas:
assignee: nobody → Raphaël Badin (rvb)
status: Triaged → In Progress
Raphaël Badin (rvb)
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.