Commits

Anonymous committed 9dcf7f7

Added one test for outcomes plugin

Comments (0)

Files changed (2)

nose2/plugins/attrib.py

 
 undefined = object()
 
+# TODO: eval attribs
 
 class AttributeSelector(Plugin):
     """TODO: document"""

nose2/tests/test_outcomes_plugin.py

+import unittest2
+
+from ..plugins import outcomes
+
+class TestOutComesPlugin(unittest2.TestCase):
+    tags = ['unit']
+
+    def setUp(self):
+        self.plugin = outcomes.Outcomes()
+
+    def test_labels_upper(self):
+        self.assertEqual(self.plugin.labels('xxx'), ('X', 'XXX'))