From 01014c68de1b77da830a2eb70429ae3176e2e106 Mon Sep 17 00:00:00 2001 From: Qwann Date: Sun, 5 Mar 2017 13:25:04 +0100 Subject: [PATCH] test fixed --- event/tests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/event/tests.py b/event/tests.py index dbf0cf2..38b2add 100644 --- a/event/tests.py +++ b/event/tests.py @@ -91,24 +91,24 @@ class ActivityInheritanceTest(TestCase): def test_inherites_place(self): self.template_act.place.add(self.loge) self.assertEqual( - self.real_act.get_herited('place').get().name, + self.real_act.get_herited('place').get(), self.loge ) self.real_act.place.add(self.aqua) self.assertEqual( - self.real_act.get_herited('place').get().name, + self.real_act.get_herited('place').get(), self.aqua ) def test_inherites_tags(self): self.template_act.tags.add(self.tag_foo) self.assertEqual( - self.real_act.get_herited('tags').get().name, + self.real_act.get_herited('tags').get(), self.tag_foo ) self.real_act.tags.add(self.tag_bar) self.assertEqual( - self.real_act.get_herited('tags').get().name, + self.real_act.get_herited('tags').get(), self.tag_bar )