def testcase_readergroup_append(self):
    'test groups.append(newgroups)'
    groupssnapshot = list(readergroups())
    groups = readergroups()
    groups.append(self.pinpadgroup)
    self.assertEqual(groups, (groupssnapshot + [self.pinpadgroup]))
    groups.append(self.pinpadgroup)
    self.assertEqual(groups, (groupssnapshot + [self.pinpadgroup]))
    groups.append(self.biogroup)
    self.assertEqual(groups, (groupssnapshot + [self.pinpadgroup, self.biogroup]))
    groups.remove(self.biogroup)
    groups.remove(self.pinpadgroup)
test groups.append(newgroups)
def testcase_readergroup_append(self):
    
    groupssnapshot = list(readergroups())
    groups = readergroups()
    groups.append(self.pinpadgroup)
    self.assertEqual(groups, (groupssnapshot + [self.pinpadgroup]))
    groups.append(self.pinpadgroup)
    self.assertEqual(groups, (groupssnapshot + [self.pinpadgroup]))
    groups.append(self.biogroup)
    self.assertEqual(groups, (groupssnapshot + [self.pinpadgroup, self.biogroup]))
    groups.remove(self.biogroup)
    groups.remove(self.pinpadgroup)