Source code for hydro.tests.conftest
import io
import pytest
from ..exchange import read_exchange
from ..exchange.helpers import simple_bottle_exchange
@pytest.fixture
@pytest.fixture
[docs]
def nc_placeholder():
params = ("OXYGEN", "OXYGEN_FLAG_W", "DELC14", "DELC14_FLAG_W", "C14ERR")
units = ("UMOL/KG", "", "/MILLE", "", "/MILLE")
data = ("-999", "1", "-999", "1", "-999")
return read_exchange(
io.BytesIO(simple_bottle_exchange(params=params, units=units, data=data))
)