'interactive mode of remove_stale_contenttypes (the default) deletes
stale contenttypes even if there aren\'t any dependent objects.'

def test_interactive_true_without_dependent_objects(self):

    with mock.patch('builtins.input', return_value='yes'):
        with captured_stdout() as stdout:
            call_command('remove_stale_contenttypes', verbosity=2)
    self.assertIn('Deleting    stale    content    type', stdout.getvalue())
    self.assertEqual(ContentType.objects.count(), self.before_count)
