Commit d4648a34 authored by Ramiro Morales's avatar Ramiro Morales
Browse files

Removed debugging code added in last commit.

parent 72130385
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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