aboutsummaryrefslogtreecommitdiff
path: root/tests/test-prog-python--format-wiring.el
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-prog-python--format-wiring.el')
-rw-r--r--tests/test-prog-python--format-wiring.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test-prog-python--format-wiring.el b/tests/test-prog-python--format-wiring.el
index 67c18dd1..b017b26b 100644
--- a/tests/test-prog-python--format-wiring.el
+++ b/tests/test-prog-python--format-wiring.el
@@ -18,10 +18,14 @@
;; use-package's `:bind (:map ...)' defers until the named map exists.
;; Loading python.el populates `python-ts-mode-map'; loading blacken
;; resolves the binding form's late-binding hook.
-(ignore-errors (require 'prog-python))
+(require 'prog-python)
(require 'python)
(require 'blacken)
+(ert-deftest test-prog-python-format-package-loaded ()
+ "Normal: `blacken' is in `features' after the prog-python config loads."
+ (should (featurep 'blacken)))
+
(ert-deftest test-prog-python-format-command-fboundp ()
"Normal: `blacken-buffer' is fboundp after the package is loaded."
(should (fboundp 'blacken-buffer)))