Example #1
0
 def test_should_return_object_if_jedi_available(self):
     self.assertIsNotNone(jedibackend.JediBackend())
Example #2
0
 def test_should_return_none_if_no_rope(self, import_):
     import_.side_effect = ImportError
     self.assertIsNone(jedibackend.JediBackend())
Example #3
0
 def setUp(self):
     super(JediBackendTestCase, self).setUp()
     self.backend = jedibackend.JediBackend()