예제 #1
0
 def setUp(self):
     self.test_runner = ipyenv.TestRunner(
         test_paths=(helper.get_abspath_from('nose-like-tests'),),
         sitelib_paths=(helper.get_abspath_from('sitelib'),),
         append_main=True,
         suite_autoload=False
     )
예제 #2
0
 def setUp(self):
     self.env = ipyenv.LibraryEnvironment(
         sitelib_paths=(helper.get_abspath_from('sitelib'),)
     )
예제 #3
0
 def test_section_lacking_config(self):
     env = ipyenv.ConfiguredLibraryEnvironment(
               config_path=helper.get_abspath_from('./ipyenvrc_for_test_lackingsection')
           )
예제 #4
0
 def test_partial_config(self):
     env = ipyenv.ConfiguredLibraryEnvironment(
               config_path=helper.get_abspath_from('./ipyenvrc_for_test_partial')
           )
예제 #5
0
 def setUp(self):
     self.env = ipyenv.ConfiguredLibraryEnvironment(
                    config_path=helper.get_abspath_from('./ipyenvrc_for_test')
                )
예제 #6
0
 def setUp(self):
     self.test_runner = ipyenv.TestRunner(
         test_paths=(helper.get_abspath_from('tests'),),
         sitelib_paths=(helper.get_abspath_from('sitelib'),),
         suite_autoload=False,  #  Defaults to True from v0.7.0.
     )
예제 #7
0
 def setUp(self):
     self.test_runner = ipyenv.ConfiguredTestRunner(
                            config_path=helper.get_abspath_from('./ipyenvrc_for_test_noselike'),
                        )
예제 #8
0
 def test_partial_config(self):
     test_runner = ipyenv.ConfiguredTestRunner(
                            config_path=helper.get_abspath_from('./ipyenvrc_for_test_partial'),
                   )
예제 #9
0
 def test_section_lacking_config(self):
     test_runner = ipyenv.ConfiguredTestRunner(
                            config_path=helper.get_abspath_from('./ipyenvrc_for_test_lackingsection'),
                   )
예제 #10
0
 def setUp(self):
     self.test_runner = ipyenv.ConfiguredTestRunner(
         config_path=helper.get_abspath_from('./ipyenvrc_for_test'), )
예제 #11
0
 def setUp(self):
     self.test_runner = ipyenv.TestRunner(
         test_paths=(helper.get_abspath_from('tests'), ),
         sitelib_paths=(helper.get_abspath_from('sitelib'), ),
         suite_autoload=False,  #  Defaults to True from v0.7.0.
     )
예제 #12
0
 def setUp(self):
     self.test_runner = ipyenv.TestRunner(
         test_paths=(helper.get_abspath_from('nose-like-tests'), ),
         sitelib_paths=(helper.get_abspath_from('sitelib'), ),
         suite_autoload=True)
예제 #13
0
 def test_section_lacking_config(self):
     test_runner = ipyenv.ConfiguredTestRunner(
         config_path=helper.get_abspath_from(
             './ipyenvrc_for_test_lackingsection'), )
예제 #14
0
 def test_partial_config(self):
     test_runner = ipyenv.ConfiguredTestRunner(
         config_path=helper.get_abspath_from(
             './ipyenvrc_for_test_partial'), )