diff options
Diffstat (limited to 'test/automated/python-tests.el')
| -rw-r--r-- | test/automated/python-tests.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/automated/python-tests.el b/test/automated/python-tests.el index 40505cc7953..1dffe9544fe 100644 --- a/test/automated/python-tests.el +++ b/test/automated/python-tests.el | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | 21 | ||
| 22 | ;;; Code: | 22 | ;;; Code: |
| 23 | 23 | ||
| 24 | (require 'ert) | ||
| 24 | (require 'python) | 25 | (require 'python) |
| 25 | 26 | ||
| 26 | (defmacro python-tests-with-temp-buffer (contents &rest body) | 27 | (defmacro python-tests-with-temp-buffer (contents &rest body) |
| @@ -463,10 +464,10 @@ Class foo(object): | |||
| 463 | " | 464 | " |
| 464 | (python-tests-look-at "3)") | 465 | (python-tests-look-at "3)") |
| 465 | (forward-line 1) | 466 | (forward-line 1) |
| 466 | (= (python-indent-calculate-indentation) 12) | 467 | (should (= (python-indent-calculate-indentation) 8)) |
| 467 | (python-tests-look-at "pass") | 468 | (python-tests-look-at "pass") |
| 468 | (forward-line 1) | 469 | (forward-line 1) |
| 469 | (= (python-indent-calculate-indentation) 8))) | 470 | (should (= (python-indent-calculate-indentation) 8)))) |
| 470 | 471 | ||
| 471 | 472 | ||
| 472 | ;;; Navigation | 473 | ;;; Navigation |