While working on my webapp (which requires a login for the entire site) I noticed a funny "glitch" (if you can call it that). I was viewing my Django site, logged into the site (on the test
I\'ve put some unit tests in mysite/vncbrowser/tests.py, and I can run these with: cd mysite python manage.py test vncbrowser
I\'m writing some tests for some forms in Django. These forms change quite often so I\'m trying to avoid hard-coding the form parameters into my tests as because every time my form would change, I\'d
I have the following test code snippet with self.assertRaises(models.NotEnoughInventorySpace): self.inv2.add_item(self.item2, 1)
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time,or an extraordinarily narrow situation that is not generally applic
Let\'s says I have a Djano app. Users can sign up, get a activation mail, activate their accounts and log in. After logging in, users can can create, update and delete objects rhough a custom Form whi
I have simple app in my project. This app works without any problem. I want to test it so I created some tests for it. But when i want to run test for it I receive App with label \'x\' could not be fo
Both of these work in \"production\"The later only works in testing.Now that I\'ve gotten something to work in both production and testing I\'d like to understand why I had to go the whole cursors rou
I had an idea and before implementing I would like to throw it out there to get some feedback or even discover that somebody has already done.
I\'m开发者_C百科 writing a reusable django app and I need to ensure that its models are only sync\'ed when the app is in test mode. I\'ve tried to use a custom DjangoTestRunner, but I found no example