import models
import stores


member1 =models.Member("ahmed",33)
member2 =models.Member("mohamed",30)

post1=models.Post("Post1", "Content1")
post2= models.Post("Post2", "Content2")
post3= models.Post("Post3", "Content3")

#member store
member_store=stores.MemberStore()
member_store.add(member1)
member_store.add(member2)
print (member_store.get_all())

post_store=stores.PostStore()
post_store.add(post1)
post_store.add(post2)
post_store.add(post3)
print (post_store.get_all())

[((39, 65), 'models.Member', 'models.Member', (['"""ahmed"""', '(33)'], {}), "('ahmed', 33)\n", (52, 65), False, 'import models\n'), ((74, 102), 'models.Member', 'models.Member', (['"""mohamed"""', '(30)'], {}), "('mohamed', 30)\n", (87, 102), False, 'import models\n'), ((109, 141), 'models.Post', 'models.Post', (['"""Post1"""', '"""Content1"""'], {}), "('Post1', 'Content1')\n", (120, 141), False, 'import models\n'), ((149, 181), 'models.Post', 'models.Post', (['"""Post2"""', '"""Content2"""'], {}), "('Post2', 'Content2')\n", (160, 181), False, 'import models\n'), ((189, 221), 'models.Post', 'models.Post', (['"""Post3"""', '"""Content3"""'], {}), "('Post3', 'Content3')\n", (200, 221), False, 'import models\n'), ((250, 270), 'stores.MemberStore', 'stores.MemberStore', ([], {}), '()\n', (268, 270), False, 'import stores\n'), ((366, 384), 'stores.PostStore', 'stores.PostStore', ([], {}), '()\n', (382, 384), False, 'import stores\n')]