Django views automated testing with selenium
Yusuf
816

  1. I’d suggest to use StaticLiveServerTestCase (from django.contrib.staticfiles.testing import StaticLiveServerTestCase)
  2. You will get nothing if you go to localhost:8000 in test. Go to localhost:8081 (or to self.live_server_url, which is the same). Hope, everybody knows about urlparse.urljoin
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.