diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2012-06-01 21:50:06 -0300 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2012-06-01 21:50:06 -0300 |
| commit | d4648a34467bb2e90af4038e3424077afa63ceba (patch) | |
| tree | 33a6cd5db71703df4740c9114571c79167309124 | |
| parent | 72130385bfe503bd440e52605c44a10a0480a25b (diff) | |
Removed debugging code added in last commit.
| -rw-r--r-- | tests/regressiontests/inspectdb/tests.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/regressiontests/inspectdb/tests.py b/tests/regressiontests/inspectdb/tests.py index 8d1222c545..29435b8375 100644 --- a/tests/regressiontests/inspectdb/tests.py +++ b/tests/regressiontests/inspectdb/tests.py @@ -28,9 +28,6 @@ class InspectDBTestCase(TestCase): call_command('inspectdb', table_name_filter=lambda tn:tn.startswith('inspectdb_'), stdout=out) - f = open('/home/ramiro/models2.py', 'w') - f.write(out.getvalue()) - f.close() error_message = "inspectdb generated an attribute name which is a python keyword" self.assertNotIn("from = models.ForeignKey(InspectdbPeople)", out.getvalue(), msg=error_message) # As InspectdbPeople model is defined after InspectdbMessage, it should be quoted |
