# coding: utf-8
def test_get_defined_members():
    from pycharmers.utils import inspect_utils, get_defined_members
    get_defined_members(inspect_utils)
    # {
    #     'get_defined_members': <function pycharmers.utils.inspect_utils.get_defined_members(obj, predicate=<function <lambda> at 0x14227fca0>)>,
    #     'get_imported_members': <function pycharmers.utils.inspect_utils.get_imported_members(obj)>
    # }

def test_get_imported_members():
    from pycharmers.utils import inspect_utils, get_imported_members, dumps_json
    print(dumps_json(obj=get_imported_members(inspect_utils)))
    # {
    #     "": [
    #         "re",
    #         "inspect"
    #     ],
    #     "collections": [
    #         "defaultdict"
    #     ],
    #     ".generic_utils": [
    #         "str_strip",
    #         "flatten_dual"
    #     ]
    # }


# coding: utf-8
def test_get_defined_members():
    from pycharmers.utils import inspect_utils, get_defined_members
    get_defined_members(inspect_utils)
    # {
    #     'get_defined_members': <function pycharmers.utils.inspect_utils.get_defined_members(obj, predicate=<function <lambda> at 0x14227fca0>)>,
    #     'get_imported_members': <function pycharmers.utils.inspect_utils.get_imported_members(obj)>
    # }

def test_get_imported_members():
    from pycharmers.utils import inspect_utils, get_imported_members, dumps_json
    print(dumps_json(obj=get_imported_members(inspect_utils)))
    # {
    #     "": [
    #         "re",
    #         "inspect"
    #     ],
    #     "collections": [
    #         "defaultdict"
    #     ],
    #     ".generic_utils": [
    #         "str_strip",
    #         "flatten_dual"
    #     ]
    # }


# coding: utf-8 # { #     'get_defined_members': <function pycharmers.utils.inspect_utils.get_defined_members(obj, predicate=<function <lambda> at 0x14227fca0>)>, #     'get_imported_members': <function pycharmers.utils.inspect_utils.get_imported_members(obj)> # } # { #     "": [ #         "re", #         "inspect" #     ], #     "collections": [ #         "defaultdict" #     ], #     ".generic_utils": [ #         "str_strip", #         "flatten_dual" #     ] # }