Ejemplo n.º 1
0
 def test_adds_path_if_exists(self):
     br_utils.add_search_path(self.existing_path)
     assert_that(self.existing_path in sys.path).is_true()
Ejemplo n.º 2
0
 def test_does_not_add_path_if_it_does_not_exist(self):
     br_utils.add_search_path(self.not_existing_path)
     assert_that(self.not_existing_path in sys.path).is_false()
Ejemplo n.º 3
0
 def _add_to_search_path(self, *path_tokens):
     _utils.add_search_path(*path_tokens)