Django views automated testing with selenium
Yusuf
816
- I’d suggest to use StaticLiveServerTestCase (from django.contrib.staticfiles.testing import StaticLiveServerTestCase)
- 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