github.phpd.cn/thought-machine/please@v12.2.0+incompatible/test/proto_rules/js_out_test.py (about) 1 import unittest 2 import os.path 3 4 5 class JsOutTest(unittest.TestCase): 6 7 def test_has_js_file(self): 8 """Test that there is a generated JS proto file. 9 10 We don't have proper JS support yet, so this is just testing we can 11 generate a JS proto file 12 """ 13 self.assertTrue(os.path.isfile('test/proto_rules/js_test_pb.js'))