Skip to content
Browse files

Removed debugging code added in last commit.

  • Loading branch information...
1 parent 7213038 commit d4648a34467bb2e90af4038e3424077afa63ceba @ramiro ramiro committed
Showing with 0 additions and 3 deletions.
  1. +0 −3 tests/regressiontests/inspectdb/tests.py
View
3 tests/regressiontests/inspectdb/tests.py
@@ -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

0 comments on commit d4648a3

Please sign in to comment.
Something went wrong with that request. Please try again.