Skip to content

Commit

Permalink
Removed debugging code added in last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiro committed Jun 2, 2012
1 parent 7213038 commit d4648a3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/regressiontests/inspectdb/tests.py
Expand Up @@ -28,9 +28,6 @@ def test_attribute_name_not_python_keyword(self):
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
Expand Down

0 comments on commit d4648a3

Please sign in to comment.