def test_msw_schfile2df(): """Test that we can process individual files with AICD and ICD MSW""" deck = EclFiles.file2deck(SCHFILE_AICD) compdfs = compdat.deck2dfs(deck) assert not compdfs["WSEGAICD"].empty assert not compdfs["WSEGAICD"].columns.empty deck = EclFiles.file2deck(SCHFILE_ICD) compdfs = compdat.deck2dfs(deck) assert not compdfs["WSEGSICD"].empty assert not compdfs["WSEGSICD"].columns.empty deck = EclFiles.file2deck(SCHFILE_VALV) compdfs = compdat.deck2dfs(deck) assert not compdfs["WSEGVALV"].empty assert not compdfs["WSEGVALV"].columns.empty
def test_schfile2df(): """Test that we can process individual files""" deck = EclFiles.file2deck(SCHFILE) compdfs = compdat.deck2dfs(deck) assert not compdfs["COMPDAT"].columns.empty assert not compdfs["COMPDAT"].empty