예제 #1
0
 def test_is_node_module_exists_false(self):
     self.empty_folder()
     compileman = CompileMan()
     self.assertFalse(compileman.is_node_module_exists())
예제 #2
0
 def test_is_node_module_exists(self):
     self.empty_folder()
     os.makedirs('node_modules')
     compileman = CompileMan()
     self.assertTrue(compileman.is_node_module_exists())