Example #1
0
    def test__is_variation_empty(self):
        # Given/When
        record = Mock()
        record.ALT = []

        # Then
        self.assertFalse(self.annot._is_variation(record))
Example #2
0
    def test__is_variation_invalid(self):
        # Given/When
        record = Mock()
        record.ALT = [Mock(), Mock()]
        record.ALT[0].value = "."
        record.ALT[1].value = "G"

        # Then
        self.assertFalse(self.annot._is_variation(record))