def test_special_column_name_introspection(self):
        out = StringIO()
        call_command('inspectdb', stdout=out)
        output = out.getvalue()
        base_name = 'Field' if connection.vendor != 'oracle' else 'field'
        self.assertIn("field = models.IntegerField()", output)
        self.assertIn("field_field = models.IntegerField(db_column='%s_')" % base_name, output)
        self.assertIn("field_field_0 = models.IntegerField(db_column='%s__')" % base_name, output)
        self.assertIn("field_field_1 = models.IntegerField(db_column='__field')", output)
        self.assertIn("prc_x = models.IntegerField(db_column='prc(%) x')", output)
Query's the database for the object's current values. Output is a
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/regressiontests/inspectdb/tests.py/InspectDBTestCase.test_special_column_name_introspection--crossover with--dataset/ETHPy150Open mozilla/moztrap/tests/model/core/api/test_product_resource.py/ProductResourceTest.backend_data