diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/ChangeLog | 7 | ||||
| -rw-r--r-- | test/automated/python-tests.el | 10 |
2 files changed, 11 insertions, 6 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index a09c6f78fc7..e0e04bc262c 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,5 +1,12 @@ | |||
| 1 | 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org> | 1 | 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org> |
| 2 | 2 | ||
| 3 | * automated/python-tests.el | ||
| 4 | (python-shell-calculate-process-environment-2): Fix test. | ||
| 5 | (python-shell-calculate-process-environment-1) | ||
| 6 | (python-shell-calculate-process-environment-3): Cleanup. | ||
| 7 | |||
| 8 | 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org> | ||
| 9 | |||
| 3 | * automated/python-tests.el (python-indent-dedenters-8): New test | 10 | * automated/python-tests.el (python-indent-dedenters-8): New test |
| 4 | for Bug#18432. | 11 | for Bug#18432. |
| 5 | 12 | ||
diff --git a/test/automated/python-tests.el b/test/automated/python-tests.el index f368f995cae..e4ce5355a84 100644 --- a/test/automated/python-tests.el +++ b/test/automated/python-tests.el | |||
| @@ -1836,8 +1836,7 @@ Using `python-shell-interpreter' and | |||
| 1836 | 1836 | ||
| 1837 | (ert-deftest python-shell-calculate-process-environment-1 () | 1837 | (ert-deftest python-shell-calculate-process-environment-1 () |
| 1838 | "Test `python-shell-process-environment' modification." | 1838 | "Test `python-shell-process-environment' modification." |
| 1839 | (let* ((original-process-environment process-environment) | 1839 | (let* ((python-shell-process-environment |
| 1840 | (python-shell-process-environment | ||
| 1841 | '("TESTVAR1=value1" "TESTVAR2=value2")) | 1840 | '("TESTVAR1=value1" "TESTVAR2=value2")) |
| 1842 | (process-environment | 1841 | (process-environment |
| 1843 | (python-shell-calculate-process-environment))) | 1842 | (python-shell-calculate-process-environment))) |
| @@ -1846,8 +1845,8 @@ Using `python-shell-interpreter' and | |||
| 1846 | 1845 | ||
| 1847 | (ert-deftest python-shell-calculate-process-environment-2 () | 1846 | (ert-deftest python-shell-calculate-process-environment-2 () |
| 1848 | "Test `python-shell-extra-pythonpaths' modification." | 1847 | "Test `python-shell-extra-pythonpaths' modification." |
| 1849 | (let* ((original-process-environment process-environment) | 1848 | (let* ((process-environment process-environment) |
| 1850 | (original-pythonpath (getenv "PYTHONPATH")) | 1849 | (original-pythonpath (setenv "PYTHONPATH" "path3")) |
| 1851 | (paths '("path1" "path2")) | 1850 | (paths '("path1" "path2")) |
| 1852 | (python-shell-extra-pythonpaths paths) | 1851 | (python-shell-extra-pythonpaths paths) |
| 1853 | (process-environment | 1852 | (process-environment |
| @@ -1859,8 +1858,7 @@ Using `python-shell-interpreter' and | |||
| 1859 | 1858 | ||
| 1860 | (ert-deftest python-shell-calculate-process-environment-3 () | 1859 | (ert-deftest python-shell-calculate-process-environment-3 () |
| 1861 | "Test `python-shell-virtualenv-path' modification." | 1860 | "Test `python-shell-virtualenv-path' modification." |
| 1862 | (let* ((original-process-environment process-environment) | 1861 | (let* ((original-path (or (getenv "PATH") "")) |
| 1863 | (original-path (or (getenv "PATH") "")) | ||
| 1864 | (python-shell-virtualenv-path | 1862 | (python-shell-virtualenv-path |
| 1865 | (directory-file-name user-emacs-directory)) | 1863 | (directory-file-name user-emacs-directory)) |
| 1866 | (process-environment | 1864 | (process-environment |