'Test that a partition group is assigned to a user.'

def test_get_group(self):

    groups = self.user_partition.groups
    self.user_partition.scheme.current_group = groups[0]
    group1 = self.partition_service.get_group(self.user, self.user_partition)
    self.assertEqual(group1, groups[0])
    self.user_partition.scheme.current_group = groups[1]
    group2 = self.partition_service.get_group(self.user, self.user_partition)
    self.assertEqual(group2, groups[1])
