@mock.patch('sys.exit')
    def test_bad_format_string(self, fake_exit):
        options = FakeOptions()
        options.tap_format = "Not gonna work {sort_desc}"
        plugin = self._make_one(options)
        test = mock.Mock()

        plugin._description(test)

        self.assertTrue(fake_exit.called)
Test that you can start following an entity.
dataset/ETHPy150Open mblayman/tappy/tap/tests/test_nose_plugin.py/TestNosePlugin.test_bad_format_string--crossover with--dataset/ETHPy150Open pytent/pytentd/tentd/tests/blueprints/test_followers.py/test_create_follower