File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -454,6 +454,16 @@ change since process was start."
454454 (python-shell-interpreter " /ssh:test@localhost:/path/to/the/python" ))
455455 (should-not (pythonic-proper-environment-p process))))
456456
457+ (ert-deftest test-pythonic-proper-environment-p-running-remote-interpreter ()
458+ " `pythonic-proper-environment-p' is t if running remote interpreter isn't changed."
459+ (unwind-protect
460+ (let* ((python-shell-interpreter " /ssh:test@localhost:/path/to/the/python" )
461+ (process (start-pythonic :process " out" :args '(" -V" ))))
462+ (should (pythonic-proper-environment-p process)))
463+ (kill-buffer " *tramp/ssh test@localhost*" )
464+ (setq tramp-current-connection)
465+ (sleep-for 0.5 )))
466+
457467; ;; Activate/deactivate environment.
458468
459469(ert-deftest test-pythonic-activate ()
You can’t perform that action at this time.
0 commit comments