def test_is_node_module_exists_false(self): self.empty_folder() compileman = CompileMan() self.assertFalse(compileman.is_node_module_exists())
def test_is_node_module_exists(self): self.empty_folder() os.makedirs('node_modules') compileman = CompileMan() self.assertTrue(compileman.is_node_module_exists())