"""
Tests donut/modules/core/
"""
from donut.testing.fixtures import client
from donut import app
from donut.modules.core.helpers import get_member_data
from donut.modules.core.routes import get_members


# Helpers
def test_get_member_data(client):
    assert get_member_data(1)['user_id'] == 1


# Test Routes
def test_get_members(client):
    assert get_members(1) is not None

@@ -122,32 +122,38 @@
 .helpers import 
+(%0A    
 get_member_data%0A
@@ -151,16 +151,69 @@
 ber_data
+,%0A    get_member_list_data,%0A    get_name_and_email, )
 %0Afrom do
@@ -335,23 +335,321 @@
 (1)%5B
-'
+%22
 user_id
-'%5D == 1
+%22%5D == 1%0A%0A%0Adef test_get_member_list_data(client):%0A    members = get_member_list_data(attrs=%7B%22uid%22: %221957540%22%7D)%0A    assert members%5B0%5D%5B%22uid%22%5D == %221957540%22%0A%0A%0Adef test_get_name_and_email(client):%0A    name, email = get_name_and_email(1)%0A    assert name == %22David Qu%22%0A    assert email == %22davidqu12345@gmail.com%22
 %0A%0A%0A#

Add more core tests