'An intermediary table between a managed and an unmanaged model should be created.'

def test_many_to_many_between_unmanaged_and_managed(self):

    table = Managed1._meta.get_field('mm').m2m_db_table()
    tables = connection.introspection.table_names()
    self.assertTrue((table in tables), ("Table    '%s'    does    not    exist." % table))
