Home
last modified time | relevance | path

Searched refs:monkeypatch (Results 1 – 19 of 19) sorted by relevance

/external/python/setuptools/setuptools/tests/
Dtest_integration.py35 def install_context(request, tmpdir, monkeypatch): argument
47 monkeypatch.undo()
57 monkeypatch.chdir(new_cwd)
58 monkeypatch.setattr(easy_install_pkg, '__file__', user_site.strpath)
59 monkeypatch.setattr('site.USER_BASE', user_base.strpath)
60 monkeypatch.setattr('site.USER_SITE', user_site.strpath)
61 monkeypatch.setattr('sys.path', sys.path + [install_dir.strpath])
62 monkeypatch.setenv('PYTHONPATH', os.path.pathsep.join(sys.path))
Dfixtures.py7 def user_override(monkeypatch): argument
13 monkeypatch.setattr('site.USER_BASE', user_base)
15 monkeypatch.setattr('site.USER_SITE', user_site)
Dtest_install_scripts.py37 def test_sys_executable_escaping_unix(self, tmpdir, monkeypatch): argument
43 monkeypatch.setattr('sys.executable', self.unix_exe)
51 def test_sys_executable_escaping_win32(self, tmpdir, monkeypatch): argument
57 monkeypatch.setattr('sys.executable', self.win32_exe)
Dtest_unicode_utils.py4 def test_filesys_decode_fs_encoding_is_None(monkeypatch): argument
9 monkeypatch.setattr('sys.getfilesystemencoding', lambda: None)
Dtest_easy_install.py121 def test_all_site_dirs(self, monkeypatch): argument
128 monkeypatch.setattr(site, 'getsitepackages', mock_gsp, raising=False)
131 def test_all_site_dirs_works_without_getsitepackages(self, monkeypatch): argument
132 monkeypatch.delattr(site, 'getsitepackages', raising=False)
170 def test_unicode_filename_in_sdist(self, sdist_unicode, tmpdir, monkeypatch): argument
182 monkeypatch.setitem(os.environ, 'PYTHONPATH', str(target))
215 def test_script_install(self, sdist_script, tmpdir, monkeypatch): argument
226 monkeypatch.setitem(os.environ, 'PYTHONPATH', str(target))
Dtest_develop.py37 def temp_user(monkeypatch): argument
40 monkeypatch.setattr('site.USER_BASE', user_base)
41 monkeypatch.setattr('site.USER_SITE', user_site)
Dtest_packageindex.py262 def test_percent_in_password(self, tmpdir, monkeypatch): argument
263 monkeypatch.setitem(os.environ, 'HOME', str(tmpdir))
/external/fonttools/Tests/ttx/
Dttx_test.py956 def test_main_keyboard_interrupt(tmpdir, monkeypatch, capsys): argument
961 monkeypatch.setattr(
974 def test_main_system_exit(tmpdir, monkeypatch): argument
979 monkeypatch.setattr(
985 def test_main_ttlib_error(tmpdir, monkeypatch, capsys): argument
990 monkeypatch.setattr(
1005 def test_main_base_exception(tmpdir, monkeypatch, capsys): argument
1010 monkeypatch.setattr(
/external/autotest/venv/skylab_staging/
Dconftest.py14 autotest.monkeypatch()
Dtest_push.py59 autotest.monkeypatch()
/external/autotest/venv/lucifer/cmd/test/
Dautotest_monkeypatcher.py28 lucifer.autotest.monkeypatch()
/external/autotest/venv/skylab_suite/cmd/
Dabort_suite_skylab.py94 autotest.monkeypatch()
Drun_suite_skylab.py125 autotest.monkeypatch()
/external/python/six/
Dtest_six.py382 def test_dictionary_iterators(monkeypatch): argument
413 monkeypatch.setattr(MyDict, stock_method_name(name), with_kw)
416 monkeypatch.undo()
693 def test_print_encoding(monkeypatch): argument
695 monkeypatch.setattr(six, "file", six.BytesIO, raising=False)
/external/autotest/venv/lucifer/
Dautotest.py43 def monkeypatch(): function
/external/autotest/venv/lucifer/cmd/
Djob_aborter.py48 autotest.monkeypatch()
Djob_reporter.py44 autotest.monkeypatch()
/external/python/setuptools/docs/
Dsetuptools.txt2553 to monkeypatch the ``distutils.command`` package to install your commands;
2607 Also note that as with commands, it is not necessary to subclass or monkeypatch
/external/python/setuptools/
DCHANGES.rst396 * #971: Correct distutils findall monkeypatch to match