# Path: tests/data.py



import blimpy as bl
import pytest
from tests.data import voyager_fil, voyager_h5, here
    from blimpy.io.file_wrapper import open_file
    from blimpy.io.file_wrapper import open_file
    from blimpy.io.file_wrapper import open_file
# the lack of some implementations causes a maximum of
# 18 guaranteed misses in codecov


def test_read_fns():
    """ These read functions are currently not implemented. """
    """ L: if that is true, why do the first two lines
        NOT raise NotImplementedError's?"""
    a = bl.Waterfall(voyager_fil)
    b = bl.Waterfall(voyager_h5)
    with pytest.raises(NotImplementedError):
        a.container.read_all()
        a.container.read_row(0)
        a.container.read_rows(0, 2)

        b.container.read_all()
        b.container.read_row(0)
        b.container.read_rows(0, 2)

def test_file_wrapper_open_h5_file():

# Path: tests/data.py



# Path: tests/test_file_wrapper.py
import blimpy as bl
import pytest
from tests.data import voyager_fil, voyager_h5, here
    from blimpy.io.file_wrapper import open_file
    from blimpy.io.file_wrapper import open_file
    from blimpy.io.file_wrapper import open_file

# the lack of some implementations causes a maximum of
# 18 guaranteed misses in codecov


def test_read_fns():
    """ These read functions are currently not implemented. """
    """ L: if that is true, why do the first two lines
        NOT raise NotImplementedError's?"""
    a = bl.Waterfall(voyager_fil)
    b = bl.Waterfall(voyager_h5)
    with pytest.raises(NotImplementedError):
        a.container.read_all()
        a.container.read_row(0)
        a.container.read_rows(0, 2)

        b.container.read_all()
        b.container.read_row(0)
        b.container.read_rows(0, 2)

def test_file_wrapper_open_h5_file():

    h5r = open_file(voyager_h5)