# -*- coding: utf-8 -*-

# Import python libs
import os

# Import pack libs
from pop.scanner import scan  # pylint: disable=unused-import

__virtualname__ = 'test'
__contracts__ = 'test'
__func_alias__ = {'ping_': 'ping'}


def ping_(hub):
    return {}


def demo(hub):
    return False


def this_pack(hub):
    return hub._.test.ping()


def this_mod(hub):
    return hub.mods._.ping()


def this_this(hub):
    return hub._._.ping()


def module_level_non_aliased_ping_call(hub):
    return ping_()  # pylint: disable=no-value-for-parameter


def module_level_non_aliased_ping_call_fw_hub(hub):
    return ping_(hub)


def call_scan(hub):
    # If scan has been packed(wrongly), the call below will throw a TypeError because
    # we'll also pass hub
    scan([os.path.dirname(__file__)])
    return True

# -*- coding: utf-8 -*-

# Import python libs
import os

# Import pack libs
from pop.scanner import scan  # pylint: disable=unused-import

__virtualname__ = 'test'
__contracts__ = 'test'
__func_alias__ = {'ping_': 'ping'}


def ping_(hub):
    return {}


def demo(hub):
    return False


def this_pack(hub):
    return hub._.test.ping()


def this_mod(hub):
    return hub.mods._.ping()


def this_this(hub):
    return hub._._.ping()


def module_level_non_aliased_ping_call(hub):
    return ping_()  # pylint: disable=no-value-for-parameter


def module_level_non_aliased_ping_call_fw_hub(hub):
    return ping_(hub)


def call_scan(hub):
    # If scan has been packed(wrongly), the call below will throw a TypeError because
    # we'll also pass hub
    scan([os.path.dirname(__file__)])
    return True

# -*- coding: utf-8 -*- # Import python libs # Import pack libs # pylint: disable=unused-import # pylint: disable=no-value-for-parameter # If scan has been packed(wrongly), the call below will throw a TypeError because # we'll also pass hub