Browse Source

[emacs] Keep db when running django tests

Colin Powell 16 giờ trước cách đây
mục cha
commit
c5dd8b2db0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      emacs/.config/doom/+django-tests.el

+ 1 - 1
emacs/.config/doom/+django-tests.el

@@ -48,7 +48,7 @@
   (let* ((module-part (or module ""))
          (selector-part (if selector (concat "." selector) ""))
          (param (string-trim (concat module-part selector-part)))
-         (command (format "python manage.py test %s" param)))
+         (command (format "python manage.py test --keepdb %s" param)))
     (message "Running command: %s" command)
     (projectile-run-async-shell-command-in-root command "*Django tests*")))