sebastian-ardila / google-app-engine-django

Automatically exported from code.google.com/p/google-app-engine-django
Apache License 2.0
0 stars 0 forks source link

integration tests dont clear database in the tearDown #174

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Write a test case extending the django Test Case (from django.test import 
TestCase)
2. Add 2 tests to the test case. The second test does not get a clear database. 
Data from previous test is still there.
3. python manage.py test app_name

What is the expected output? What do you see instead?
Kinds (tables) should be clear after each test runs. As django should drop 
database in the tearDown step. It does not right now. Same tests was working 
with last zipped helper version. It is broken in current svn head.

What version of the product are you using? On what operating system?
svn head, r105. On MacOS and Ubuntu

Please provide any additional information below.
Replacing just appengine_helper_for_django/appengine_django/__init__.py
 with r86, it behaves fine again

Original issue reported on code.google.com by ble.jur...@gmail.com on 28 Jun 2010 at 6:44

GoogleCodeExporter commented 9 years ago
Sorry when I said last zipped version, I meant r86 which is not the last one.

Original comment by ble.jur...@gmail.com on 28 Jun 2010 at 6:55

GoogleCodeExporter commented 9 years ago
We've realized that we had merged r105 with custom made changes. Trying r105 as 
is, works. Sorry, this wasn't a bug but our mistake.

Thanks

Original comment by ble.jur...@gmail.com on 29 Jun 2010 at 10:21

GoogleCodeExporter commented 9 years ago

Original comment by m...@google.com on 29 Jun 2010 at 10:26