Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async def test_create_group():
"""Verify that creating a group works.
Just tests a subset right now;
xy will also be signalled as a set from 0.61.
"""
group = DeconzGroup("0", deepcopy(FIXTURE_GROUP), None)
assert group.state == True
assert group.groupclass == None
assert group.all_on == False
assert group.any_on == True
assert group.devicemembership == []
assert group.hidden == None
assert group.id == "11"
assert group.lights == ["14", "15", "12"]
assert group.lightsequence == None
assert group.multideviceids == None
assert group.scenes["1"].id == "1"
assert group.scenes["1"].name == "warmlight"
assert group.brightness == 132
assert group.hue == 0
def __init__(self, raw, request):
super().__init__(raw, request, URL, DeconzGroup)