# Path: ecmcli/api.py
# JWT_COOKIE = 'cpAccountsJwt'
# LEGACY_COOKIE = 'sessionid'
# class HTMLJSONDecoder(syndicate.data.NormalJSONDecoder):
# class AuthFailure(SystemExit):
# class Unauthorized(AuthFailure):
# class TOSRequired(AuthFailure):
# class ECMLogin(object):
# class AberrantPager(RequestsPager):
# class ECMService(shellish.Eventer, syndicate.Service):
#     def parse_object(self, data):
#     def __init__(self, api):
#     def set_creds(self, username, password):
#     def set_session(self, legacy_id, jwt):
#     def reset(self, request):
#     def __call__(self, request):
#     def __init__(self, getter, path, kwargs):
#     def __len__(self):
#     def _get_next_page(self):
#     def __next__(self):
#     def __init__(self, **kwargs):
#     def clone(self, **varations):
#     def default_page_size(self):
#     def connect(self, site=None, username=None, password=None):
#     def reset_auth(self):
#     def login(self, username=None, password=None):
#     def set_auth(self, username, password=None, legacy_id=None, jwt=None):
#     def get_session(self, username=None, use_last=False):
#     def save_last_username(self, username):
#     def save_session(self, session):
#     def load_session(self, username=None, try_last=False):
#     def check_session(self):
#     def finish_do(self, callid, result_func, *args, reraise=True, **kwargs):
#     def do(self, *args, **kwargs):
#     def _do(self, *args, **kwargs):
#     def handle_error(self, error):
#     def glob_match(self, string, pattern):
#     def glob_field(self, field, criteria):
#     def get_by(self, selectors, resource, criteria, required=True, **options):
#     def get_by_id_or_name(self, resource, id_or_name, **kwargs):
#     def glob_pager(self, *args, **kwargs):
#             def glob_scrub():
#     def _routers_slice(self, routers, size):
#     def remote(self, path, **kwargs):
#         def expand_globs(base, tests, context=server_path):
#     def fetch_remote(self, path, concurrency=None, timeout=None, **query):
#         async def start(route):
#         async def get_page(route, offset, limit):
#         async def get_remote(route, router):
#         async def close():
#     def get_pager(self, *path, **kwargs):


import unittest
from ecmcli import api



class GlobFilters(unittest.TestCase):

    def setUp(self):
        self.api = api.ECMService()

# Path: ecmcli/api.py
# JWT_COOKIE = 'cpAccountsJwt'
# LEGACY_COOKIE = 'sessionid'
# class HTMLJSONDecoder(syndicate.data.NormalJSONDecoder):
# class AuthFailure(SystemExit):
# class Unauthorized(AuthFailure):
# class TOSRequired(AuthFailure):
# class ECMLogin(object):
# class AberrantPager(RequestsPager):
# class ECMService(shellish.Eventer, syndicate.Service):
#     def parse_object(self, data):
#     def __init__(self, api):
#     def set_creds(self, username, password):
#     def set_session(self, legacy_id, jwt):
#     def reset(self, request):
#     def __call__(self, request):
#     def __init__(self, getter, path, kwargs):
#     def __len__(self):
#     def _get_next_page(self):
#     def __next__(self):
#     def __init__(self, **kwargs):
#     def clone(self, **varations):
#     def default_page_size(self):
#     def connect(self, site=None, username=None, password=None):
#     def reset_auth(self):
#     def login(self, username=None, password=None):
#     def set_auth(self, username, password=None, legacy_id=None, jwt=None):
#     def get_session(self, username=None, use_last=False):
#     def save_last_username(self, username):
#     def save_session(self, session):
#     def load_session(self, username=None, try_last=False):
#     def check_session(self):
#     def finish_do(self, callid, result_func, *args, reraise=True, **kwargs):
#     def do(self, *args, **kwargs):
#     def _do(self, *args, **kwargs):
#     def handle_error(self, error):
#     def glob_match(self, string, pattern):
#     def glob_field(self, field, criteria):
#     def get_by(self, selectors, resource, criteria, required=True, **options):
#     def get_by_id_or_name(self, resource, id_or_name, **kwargs):
#     def glob_pager(self, *args, **kwargs):
#             def glob_scrub():
#     def _routers_slice(self, routers, size):
#     def remote(self, path, **kwargs):
#         def expand_globs(base, tests, context=server_path):
#     def fetch_remote(self, path, concurrency=None, timeout=None, **query):
#         async def start(route):
#         async def get_page(route, offset, limit):
#         async def get_remote(route, router):
#         async def close():
#     def get_pager(self, *path, **kwargs):


# Path: test/api_glob.py
import unittest
from ecmcli import api




class GlobFilters(unittest.TestCase):

    def setUp(self):
        self.api = api.ECMService()

        self.glob = self.api.glob_field