Re: Live server tests from cron

2013-08-10 Thread Drew Ferguson
Hi I don't know anything about selenium. However, from what you are describing - trying to run an application from cron that requires an Xserver - is problematic i.e. there is generally no Xserver available that can be used so your "DISPLAY=:0.0" essentially has no effect. To get round this, yo

Live server tests from cron

2013-08-10 Thread Larry Martell
I have some tests that use LiveServerTestCase and selenium. When I run them from the command line they work fine. But I want to run them from cron. I know I need to use pyvirtualdisplay, but I can't seem to get it to work. I have this in my test: from pyvirtualdisplay import Display @classme