Abs path test removal
@@ -30,12 +30,3 @@ class TestModuleLoaderRegistry(unittest.TestCase):
source2 = "https://github.com/bridgecrewio/checkov_not_working2.git"
registry.load(current_dir=self.current_dir, source=source2, source_version="latest")
self.assertIn(source1 in registry.failed_urls_cache and source2, registry.failed_urls_cache)
-
- def test_load_local_module_absolute_path(self):
- registry = ModuleLoaderRegistry(download_external_modules=True)
- source = "/some/module"
- try:
- registry.load(current_dir=self.current_dir, source=source, source_version="latest")
- self.assertEqual(1, 2, 'Module loading should have thrown an error')
- except FileNotFoundError as e:
- self.assertEqual(str(e), source)
