Tests that the ClientGroup's attributes are correctly set and accessible.
()
| 811 | |
| 812 | |
| 813 | def test_client_group_attribute_access(): |
| 814 | """ |
| 815 | Tests that the ClientGroup's attributes are correctly set and accessible. |
| 816 | """ |
| 817 | group = ClientGroup(clients=[1, 2, 3], required=False, name="test") |
| 818 | |
| 819 | assert_equal(group.clients, [1, 2, 3]) |
| 820 | assert_equal(group.required, False) |
| 821 | assert_equal(group.mutually_exclusive, True) |
| 822 | assert_equal(group.name, "test") |
| 823 | assert_equal(str(group), "test") |
| 824 | |
| 825 | |
| 826 | def test_raises_empty_group(): |
nothing calls this directly
no test coverage detected