Example #1
0
 def _is_excluded_by_nose(self, cls):
     # Here with gusto, so create_demo_data.py can import the testfinder from the
     # binary egg.
     from agilo.test.nose_testselector import NoseExcludeUnittestRunnerFunctions
     nose_exlude_filter = NoseExcludeUnittestRunnerFunctions()
     return False == nose_exlude_filter.wantClass(cls)
 def _plugin(self):
     plugin = NoseExcludeUnittestRunnerFunctions()
     plugin.configure(Mock(only_real_tests=True), Config())
     self.assert_true(plugin.enabled)
     return plugin
Example #3
0
 def _is_excluded_by_nose(self, cls):
     # Here with gusto, so create_demo_data.py can import the testfinder from the
     # binary egg.
     from agilo.test.nose_testselector import NoseExcludeUnittestRunnerFunctions
     nose_exlude_filter = NoseExcludeUnittestRunnerFunctions()
     return False == nose_exlude_filter.wantClass(cls)
Example #4
0
 def _plugin(self):
     plugin = NoseExcludeUnittestRunnerFunctions()
     plugin.configure(Mock(only_real_tests=True), Config())
     self.assert_true(plugin.enabled)
     return plugin