Example #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)
Example #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)
Example #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'))
Example #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'))