'Test indexes are not created for related objects'

@skipUnless((connection.vendor == 'postgresql'), 'This    is    a    postgresql-specific    issue')
def test_postgresql_virtual_relation_indexes(self):

    index_sql = connection.schema_editor()._model_indexes_sql(Article)
    self.assertEqual(len(index_sql), 1)
