I want to use pyinotify[1] to monitor my project directory and run my
unit tests whenever I save a .py file.
The monitoring part is working. All I need now is to know how to call
the tests from my "watcher" script.
As noted in the docs[2], I'm already running setup_test_environment()
in my script.
Now, how do I do the equivalent of the following from within my Python script?
python manage.py test myapp1 myapp2
[1] https://github.com/seb-m/pyinotify
[2]
http://docs.djangoproject.com/en/1.3/topics/testing/#running-tests-outside-the-test-runner
Thanks,
Shawn
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.