class documentation
class TestDiscoverPackagesAndPyModules: (source)
Make sure discovered values for ``packages`` and ``py_modules`` work similarly to explicit configuration for the simple scenarios.
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Regression for issue 3692 |
Method | test |
Undocumented |
Constant | FILES |
Undocumented |
Constant | OPTIONS |
Undocumented |
Constant | PURPOSEFULLY |
Undocumented |
Method | _get |
Undocumented |
@pytest.mark.parametrize( 'extra_files', [ [ 'other/__init__.py'], [ 'other/finalize.py']])
def test_flat_layout_with_dangerous_extra_files(self, tmp_path, extra_files): (source) ¶
def test_flat_layout_with_dangerous_extra_files(self, tmp_path, extra_files): (source) ¶
Undocumented
@pytest.mark.parametrize( 'extra_files, pkgs', [ ( [ 'venv/bin/simulate_venv'], set([ 'pkg'])), ( [ 'pkg-stubs/__init__.pyi'], set([ 'pkg', 'pkg-stubs'])), ( [ 'other-stubs/__init__.pyi'], set([ 'pkg', 'other-stubs'])), ( [ 'namespace-stubs/pkg/__init__.pyi'], set([ 'pkg', 'namespace-stubs', 'namespace-stubs.pkg'])), ( [ 'namespace-stubs/pkg-stubs/__init__.pyi'], set([ 'pkg', 'namespace-stubs'])), ( [ '_hidden/file.py'], set([ 'pkg'])), ( [ 'news/finalize.py'], set([ 'pkg']))])
def test_flat_layout_with_extra_files(self, tmp_path, extra_files, pkgs): (source) ¶
def test_flat_layout_with_extra_files(self, tmp_path, extra_files, pkgs): (source) ¶
Undocumented
@pytest.mark.parametrize( 'circumstance', OPTIONS.keys())
def test_project(self, tmp_path, circumstance): (source) ¶
def test_project(self, tmp_path, circumstance): (source) ¶
Undocumented
@pytest.mark.parametrize( 'config_file, param, circumstance', product( [ 'setup.cfg', 'setup.py', 'pyproject.toml'], [ 'packages', 'py_modules'], FILES.keys()))
def test_purposefully_empty(self, tmp_path, config_file, param, circumstance): (source) ¶
def test_purposefully_empty(self, tmp_path, config_file, param, circumstance): (source) ¶
Undocumented
@pytest.mark.parametrize( 'circumstance', OPTIONS.keys())
def test_sdist_filelist(self, tmp_path, circumstance): (source) ¶
def test_sdist_filelist(self, tmp_path, circumstance): (source) ¶
Undocumented
Undocumented
Value |
|
Undocumented
Value |
|
Undocumented
Value |
|