Skip to content

Commit

Permalink
Simplify test file names
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsebgosselin committed Dec 21, 2019
1 parent 82dc039 commit 8b19aa2
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions hydsensread/tests/test_solinst_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def test_files_dir():
# ---- Tests
@pytest.mark.parametrize(
'testfile',
["2XXXXXX_solinst_levelogger_edge_testfile.csv",
"2XXXXXX_solinst_levelogger_edge_testfile.xle"])
["2XXXXXX_solinst_levelogger_edge.csv",
"2XXXXXX_solinst_levelogger_edge.xle"])
def test_solinst_levelogger_edge(test_files_dir, testfile):
"""Test reading Solinst Edge Levelogger files."""
solinst_file = hsr.SolinstFileReader(osp.join(test_files_dir, testfile))
Expand All @@ -56,7 +56,7 @@ def test_solinst_levelogger_edge(test_files_dir, testfile):

def test_solinst_levelogger_edge_lev(test_files_dir):
"""Test reading Solinst Edge Levelogger .lev files."""
testfile = "2XXXXXX_solinst_levelogger_edge_testfile.lev"
testfile = "2XXXXXX_solinst_levelogger_edge.lev"
solinst_file = hsr.SolinstFileReader(osp.join(test_files_dir, testfile))

sites = solinst_file.sites
Expand All @@ -81,8 +81,8 @@ def test_solinst_levelogger_edge_lev(test_files_dir):

@pytest.mark.parametrize(
'testfile',
["1XXXXXX_solinst_levelogger_gold_testfile.csv",
"1XXXXXX_solinst_levelogger_gold_testfile.lev"])
["1XXXXXX_solinst_levelogger_gold.csv",
"1XXXXXX_solinst_levelogger_gold.lev"])
def test_solinst_levelogger_gold(test_files_dir, testfile):
"""
Test reading Solinst Edge Levelogger files.
Expand Down

0 comments on commit 8b19aa2

Please sign in to comment.