Ejemplo n.º 1
0
 def test_compile_js_without_output_file(self):
     result = compiler.compile_js(env.test_path + 'aa.js')
     self.assertTrue('compile'.encode('utf-8') in result)
Ejemplo n.º 2
0
 def test_compile_js_without_output_file(self):
     result = compiler.compile_js(env.test_path + 'aa.js')
     self.assertTrue('compile'.encode('utf-8') in result)
Ejemplo n.º 3
0
 def test_compile_js(self):
     compiler.compile_js(env.test_path + 'aa.js', env.test_path + 'bb.js')
     self.assertTrue(os.path.exists(env.test_path + 'bb.js'))
Ejemplo n.º 4
0
 def test_compile_js(self):
     compiler.compile_js(env.test_path + 'aa.js', env.test_path + 'bb.js')
     self.assertTrue(os.path.exists(env.test_path + 'bb.js'))