Пример #1
0
 def test_add_exac(self, variant):
     adapter = GeminiPlugin()
     gemini_variant = {'aaf_exac_all':0.01}
     adapter._add_exac(variant, gemini_variant)
     
     assert variant.thousand_g == None
     assert len(variant.frequencies) == 1
    def test_add_exac(self, variant):
        adapter = GeminiPlugin()
        gemini_variant = {'aaf_exac_all': 0.01}
        adapter._add_exac(variant, gemini_variant)

        assert variant.thousand_g == None
        assert len(variant.frequencies) == 1
Пример #3
0
 def test_add_exac_no_frequency(self, variant):
     adapter = GeminiPlugin()
     gemini_variant = {'aaf_exac_all':None}
     adapter._add_exac(variant, gemini_variant)
     
     assert len(variant.frequencies) == 0
    def test_add_exac_no_frequency(self, variant):
        adapter = GeminiPlugin()
        gemini_variant = {'aaf_exac_all': None}
        adapter._add_exac(variant, gemini_variant)

        assert len(variant.frequencies) == 0