def test_returns_configured_model(self):
    m = ('%s.FooBar' % self.__class__.__module__)
    with self.settings(ARMSTRONG_SECTION_ITEM_MODEL=m):
        (module, model) = utils.get_module_and_model_names()
        self.assertEqual(self.__class__.__module__, module)
        self.assertEqual('FooBar', model)
def test_returns_configured_model(self):
    m = ('%s.FooBar' % self.__class__.__module__)
    with self.settings(ARMSTRONG_SECTION_ITEM_MODEL=m):
        (module, model) = utils.get_module_and_model_names()
        self.assertEqual(self.__class__.__module__, module)
        self.assertEqual('FooBar', model)