def METHOD_NAME(self):
    with open(self.path, "ab") as targets_file:
        targets_file.write(
            b"""
    # Generate a test rule for each entry in ROCKS_TESTS
    # Do not build the tests in opt mode, since SyncPoint and other test code
    # will not be included.