Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Public Member Functions | List of all members
setuptools.tests.test_packageindex.TestPackageIndex Class Reference
Inheritance diagram for setuptools.tests.test_packageindex.TestPackageIndex:

Public Member Functions

def test_bad_url_bad_port
 
def test_bad_url_typo
 
def test_bad_url_bad_status_line
 
def test_bad_url_double_scheme
 
def test_bad_url_screwy_href
 
def test_url_ok
 
def test_links_priority
 
def test_parse_bdist_wininst
 
def test__vcs_split_rev_from_url
 
def test_local_index
 

Member Function Documentation

def setuptools.tests.test_packageindex.TestPackageIndex.test__vcs_split_rev_from_url (   self)
Test the basic usage of _vcs_split_rev_from_url
def setuptools.tests.test_packageindex.TestPackageIndex.test_bad_url_bad_port (   self)
def setuptools.tests.test_packageindex.TestPackageIndex.test_bad_url_bad_status_line (   self)
def setuptools.tests.test_packageindex.TestPackageIndex.test_bad_url_double_scheme (   self)
A bad URL with a double scheme should raise a DistutilsError.
def setuptools.tests.test_packageindex.TestPackageIndex.test_bad_url_screwy_href (   self)
def setuptools.tests.test_packageindex.TestPackageIndex.test_bad_url_typo (   self)
def setuptools.tests.test_packageindex.TestPackageIndex.test_links_priority (   self)
Download links from the pypi simple index should be used before
external download links.
https://bitbucket.org/tarek/distribute/issue/163

Usecase :
- someone uploads a package on pypi, a md5 is generated
- someone manually copies this link (with the md5 in the url) onto an
  external page accessible from the package page.
- someone reuploads the package (with a different md5)
- while easy_installing, an MD5 error occurs because the external link
  is used
-> Setuptools should use the link from pypi, not the external one.
def setuptools.tests.test_packageindex.TestPackageIndex.test_local_index (   self)
local_open should be able to read an index from the file system.
def setuptools.tests.test_packageindex.TestPackageIndex.test_parse_bdist_wininst (   self)
def setuptools.tests.test_packageindex.TestPackageIndex.test_url_ok (   self)

The documentation for this class was generated from the following file:

Copyright 2014 Google Inc. All rights reserved.