def test_accept_group_pk(self): self.assertEqual( hydroshare.group_from_id(self.group.pk), self.group, msg='lookup group id failed' )
def test_accept_group_instance(self): self.assertEquals( hydroshare.group_from_id(self.group), self.group, msg='group did not match' )
def test_accept_group_name(self): self.assertEqual( hydroshare.group_from_id(self.group.name), self.group, msg='lookup group name failed' )
def test_accept_group_instance(self): self.assertEquals( hydroshare.group_from_id(self.group), self.group, msg='group passthrough failed' )