  
  class ContentTypesMultidbTestCase(TestCase):
  
      def setUp(self):
          self.old_routers = router.routers
          router.routers = [TestRouter()]
  
          # Whenever a test starts executing, only the "default" database is
          # connected. We explicitly connect to the "other" database here. If we
          # don't do it, then it will be implicitly connected later when we query
          # it, but in that case some database backends may automatically perform
          # extra queries upon connecting (notably mysql executes
 
</s> remove     def tearDown(self):
        router.routers = self.old_routers

 </s> add  </s> remove     def setUp(self):
        # Make the 'other' database appear to be a replica of the 'default'
        self.old_routers = router.routers
        router.routers = [TestRouter()]

    def tearDown(self):
        # Restore the 'other' database as an independent database
        router.routers = self.old_routers

 </s> add  </s> remove     def setUp(self):
        # Make the 'other' database appear to be a replica of the 'default'
        self.old_routers = router.routers
        router.routers = [MigrateNothingRouter()]

    def tearDown(self):
        # Restore the 'other' database as an independent database
        router.routers = self.old_routers

 </s> add 
  
  class ContentTypesMultidbTestCase(TestCase):
  
      def setUp(self):



          # Whenever a test starts executing, only the "default" database is
          # connected. We explicitly connect to the "other" database here. If we
          # don't do it, then it will be implicitly connected later when we query
          # it, but in that case some database backends may automatically perform
          # extra queries upon connecting (notably mysql executes
keep keep keep keep replace replace replace keep keep keep keep keep
 Replaced router.routers usage with override_settings(DATABASE_ROUTERS); refs #23933. 
tests/contenttypes_tests/tests.py