# Path: vcfpy/reader.py
# class Reader:
#     def from_stream(
#         klass, stream, path=None, tabix_path=None, record_checks=None, parsed_samples=None
#     ):
#     def from_path(klass, path, tabix_path=None, record_checks=None, parsed_samples=None):
#     def __init__(self, stream, path=None, tabix_path=None, record_checks=None, parsed_samples=None):
#     def fetch(self, chrom_or_region, begin=None, end=None):
#     def close(self):
#     def __enter__(self):
#     def __exit__(self, type_, value, traceback):
#     def __iter__(self):
#     def __next__(self):


import os
import pytest
from vcfpy import reader
    "freebayes.vcf",
    "gatk_26_meta.vcf",
    "gatk.vcf",
    "gonl.chr20.release4.gtc.vcf",
    "info-type-character.vcf",
    "issue-140-file1.vcf",
    "issue-140-file2.vcf",
    "issue-140-file3.vcf",
    "issue-16.vcf",
    "issue-201.vcf.gz",
    "issue-214.vcf",
    "issue_49.vcf",
    "metadata-whitespace.vcf",
    "mixed-filtering.vcf",
    "null_genotype_mono.vcf",
    "parse-meta-line.vcf",
    "samples-space.vcf",
    "samtools.vcf",
    "strelka.vcf",
    "string_as_flag.vcf",
    "tb.vcf.gz",
    "uncalled_genotypes.vcf",
    "walk_left.vcf",
    "walk_refcall.vcf",
]


@pytest.mark.parametrize("filename", FILENAMES)
def test_read_vcfs_from_the_wild(filename):
    path = os.path.join(os.path.dirname(__file__), "vcfs_from_the_wild", filename)

# Path: vcfpy/reader.py
# class Reader:
#     def from_stream(
#         klass, stream, path=None, tabix_path=None, record_checks=None, parsed_samples=None
#     ):
#     def from_path(klass, path, tabix_path=None, record_checks=None, parsed_samples=None):
#     def __init__(self, stream, path=None, tabix_path=None, record_checks=None, parsed_samples=None):
#     def fetch(self, chrom_or_region, begin=None, end=None):
#     def close(self):
#     def __enter__(self):
#     def __exit__(self, type_, value, traceback):
#     def __iter__(self):
#     def __next__(self):


# Path: tests/test_vcfs_from_the_wild.py
import os
import pytest
from vcfpy import reader

    "freebayes.vcf",
    "gatk_26_meta.vcf",
    "gatk.vcf",
    "gonl.chr20.release4.gtc.vcf",
    "info-type-character.vcf",
    "issue-140-file1.vcf",
    "issue-140-file2.vcf",
    "issue-140-file3.vcf",
    "issue-16.vcf",
    "issue-201.vcf.gz",
    "issue-214.vcf",
    "issue_49.vcf",
    "metadata-whitespace.vcf",
    "mixed-filtering.vcf",
    "null_genotype_mono.vcf",
    "parse-meta-line.vcf",
    "samples-space.vcf",
    "samtools.vcf",
    "strelka.vcf",
    "string_as_flag.vcf",
    "tb.vcf.gz",
    "uncalled_genotypes.vcf",
    "walk_left.vcf",
    "walk_refcall.vcf",
]


@pytest.mark.parametrize("filename", FILENAMES)
def test_read_vcfs_from_the_wild(filename):
    path = os.path.join(os.path.dirname(__file__), "vcfs_from_the_wild", filename)

    r = reader.Reader.from_path(path)