Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed debugging code added in last commit.

  • Loading branch information...
commit d4648a34467bb2e90af4038e3424077afa63ceba 1 parent 7213038
@ramiro ramiro authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.