code: def test_update_haplotype(
      self,
      variant,
      reference_haplotype,
      reference_offset,
      expected_return,
  ):
      list_hap_obj = allele_frequency.update_haplotype(
          variant, reference_haplotype, reference_offset
      )
      self.assertListEqual(list_hap_obj, expected_return)
  
file_path: deepvariant/deepvariant/allele_frequency_test.py
imports: from absl.testing import absltest
  from absl.testing import parameterized
  from third_party.nucleus.io import fasta
  from third_party.nucleus.io import vcf
  from third_party.nucleus.protos import variants_pb2
  from deepvariant import allele_frequency
  from deepvariant import testdata
  from deepvariant.protos import deepvariant_pb2
label_desc: Use image node_id 1 for calling the AlleleFrequencyTest obj's underlying member method code with example usage: obj.test_update_haplotype(variant, reference_haplotype, reference_offset, expected_return) without return types