'Regression test for #16039: syncdb with --database option.'

def test_syncdb_to_other_database(self):

    cts = ContentType.objects.using(u'other').filter(app_label=u'multiple_database')
    count = cts.count()
    self.assertGreater(count, 0)
    cts.delete()
    management.call_command(u'syncdb', verbosity=0, interactive=False, load_initial_data=False, database=u'other')
    self.assertEqual(cts.count(), count)
