# Path: binstar_client/inspect_package/conda.py
# def transform_conda_deps(deps):
# def get_subdir(index):
# def inspect_conda_package(filename, fileobj, *args, **kwargs):
# def main():
# 
# Path: binstar_client/utils/notebook/data_uri.py
# def data_uri_from(location):
#     return DataURIConverter(location)()
# 
# Path: binstar_client/utils/test/utils.py
# def data_dir(filename):
#     base_path = inspect.stack()[1][1]  # function caller path
#     test_data = os.path.join(os.path.dirname(base_path), 'data')
#     return os.path.join(test_data, filename)


import unittest
from binstar_client.inspect_package import conda
from binstar_client.utils.notebook.data_uri import data_uri_from
from binstar_client.utils.test.utils import data_dir
    'license_url': 'http://license.url',
    'license_family': None,
    'description': 'test description',
    'dev_url': 'https://dev.url',
    'doc_url': 'https://doc.url',
    'home': 'http://home.page',
    'source_git_url': 'http://git.url',
}

app_expected_version_data = {
    'home': 'http://home.page',
    'description': 'test description',
    'summary': u'',
    'dev_url': 'https://dev.url',
    'doc_url': 'https://doc.url',
    'source_git_url': 'http://git.url',
    'license': 'LICENSE',
    'license_url': 'http://license.url',
    'license_family': None,
    'source_git_tag': 0.1,
    'description': 'test description',
    'home_page': 'http://home.page',
    'icon': ICON_B64,
    'version': u'0.1',
}


class Test(unittest.TestCase):

    def test_conda_old(self):

# Path: binstar_client/inspect_package/conda.py
# def transform_conda_deps(deps):
# def get_subdir(index):
# def inspect_conda_package(filename, fileobj, *args, **kwargs):
# def main():
# 
# Path: binstar_client/utils/notebook/data_uri.py
# def data_uri_from(location):
#     return DataURIConverter(location)()
# 
# Path: binstar_client/utils/test/utils.py
# def data_dir(filename):
#     base_path = inspect.stack()[1][1]  # function caller path
#     test_data = os.path.join(os.path.dirname(base_path), 'data')
#     return os.path.join(test_data, filename)


# Path: binstar_client/inspect_package/tests/test_conda.py
import unittest
from binstar_client.inspect_package import conda
from binstar_client.utils.notebook.data_uri import data_uri_from
from binstar_client.utils.test.utils import data_dir

    'license_url': 'http://license.url',
    'license_family': None,
    'description': 'test description',
    'dev_url': 'https://dev.url',
    'doc_url': 'https://doc.url',
    'home': 'http://home.page',
    'source_git_url': 'http://git.url',
}

app_expected_version_data = {
    'home': 'http://home.page',
    'description': 'test description',
    'summary': u'',
    'dev_url': 'https://dev.url',
    'doc_url': 'https://doc.url',
    'source_git_url': 'http://git.url',
    'license': 'LICENSE',
    'license_url': 'http://license.url',
    'license_family': None,
    'source_git_tag': 0.1,
    'description': 'test description',
    'home_page': 'http://home.page',
    'icon': ICON_B64,
    'version': u'0.1',
}


class Test(unittest.TestCase):

    def test_conda_old(self):

        filename = data_dir('conda_gc_test-1.2.1-py27_3.tar.bz2')