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