class documentation

class TestEasyInstallTest: (source)

View In Hierarchy

Undocumented

Method sdist_script Undocumented
Method sdist_unicode Undocumented
Method sdist_unicode_in_script Undocumented
Method test_all_site_dirs get_site_dirs should always return site dirs reported by site.getsitepackages.
Method test_all_site_dirs_works_without_getsitepackages Undocumented
Method test_dist_get_script_args_deprecated Undocumented
Method test_dist_get_script_header_deprecated Undocumented
Method test_dist_get_writer_deprecated Undocumented
Method test_dist_WindowsScriptWriter_get_writer_deprecated Undocumented
Method test_get_script_args Undocumented
Method test_no_find_links Undocumented
Method test_script_install Check scripts are installed.
Method test_unicode_content_in_sdist The install command should execute correctly even if the package has unicode in scripts.
Method test_unicode_filename_in_sdist The install command should execute correctly even if the package has unicode filenames.
Method test_write_exception Test that `cant_write_to_target` is rendered as a DistutilsError.
@pytest.fixture
def sdist_script(self, tmpdir): (source)

Undocumented

@pytest.fixture
def sdist_unicode(self, tmpdir): (source)

Undocumented

@pytest.fixture
def sdist_unicode_in_script(self, tmpdir): (source)

Undocumented

def test_all_site_dirs(self, monkeypatch): (source)

get_site_dirs should always return site dirs reported by site.getsitepackages.

def test_all_site_dirs_works_without_getsitepackages(self, monkeypatch): (source)

Undocumented

def test_dist_get_script_args_deprecated(self): (source)

Undocumented

def test_dist_get_script_header_deprecated(self): (source)

Undocumented

def test_dist_get_writer_deprecated(self): (source)

Undocumented

def test_dist_WindowsScriptWriter_get_writer_deprecated(self): (source)

Undocumented

def test_get_script_args(self): (source)

Undocumented

def test_no_find_links(self): (source)

Undocumented

@pytest.mark.skipif(not sys.platform.startswith('linux'), reason='Test can only be run on Linux')
def test_script_install(self, sdist_script, tmpdir, monkeypatch): (source)

Check scripts are installed.

@fail_on_ascii
def test_unicode_content_in_sdist(self, sdist_unicode_in_script, tmpdir, monkeypatch): (source)

The install command should execute correctly even if the package has unicode in scripts.

@fail_on_ascii
def test_unicode_filename_in_sdist(self, sdist_unicode, tmpdir, monkeypatch): (source)

The install command should execute correctly even if the package has unicode filenames.

def test_write_exception(self): (source)

Test that `cant_write_to_target` is rendered as a DistutilsError.