github.com/sercand/please@v13.4.0+incompatible/test/python_rules/zip_unsafe_test.py (about) 1 """Library to test transitive zip_safe flag.""" 2 3 import unittest 4 5 from test.cc_rules.gcc import so_test 6 7 8 class SharedObjectTest(unittest.TestCase): 9 10 def test_file1_contents(self): 11 contents = so_test.get_embedded_file_1() 12 self.assertEqual('testing message 1\n', contents) 13 14 15 if __name__ == '__main__': 16 unittest.main()