Example #1
0
    def test_modifiers_exclude_list(self):
        self.clear_mods()
        self.add_test_func()

        cm = ContentMod()
        self.assertEqual([test_func_2, test_func_3],
                         cm.modifiers(exclude='test_func'))
Example #2
0
    def test_modifiers_exclude_list(self):
        self.clear_mods()
        self.add_test_func()

        cm = ContentMod()
        self.assertEqual([test_func_2, test_func_3],
            cm.modifiers(exclude='test_func'))
Example #3
0
    def test_modifier(self):
        self.clear_mods()
        self.add_test_func()

        cm = ContentMod()
        self.assertEqual([test_func, test_func_2, test_func_3], cm.modifiers())
Example #4
0
    def test_modifier(self):
        self.clear_mods()
        self.add_test_func()

        cm = ContentMod()
        self.assertEqual([test_func, test_func_2, test_func_3], cm.modifiers())