proper capitalization
This commit is contained in:
parent
9035d8d3cb
commit
80002e6cfd
|
@ -11,11 +11,11 @@ def pytest_addoption(parser):
|
|||
|
||||
@pytest.fixture
|
||||
def update(request):
|
||||
"""store current results as new reference results."""
|
||||
"""Store current results as new reference results."""
|
||||
return request.config.getoption("--update")
|
||||
|
||||
@pytest.fixture
|
||||
def reference_dir_base():
|
||||
"""directory containing reference results."""
|
||||
"""Directory containing reference results."""
|
||||
env = damask.Environment()
|
||||
return os.path.join(env.rootDir(),'python','tests','reference')
|
||||
|
|
|
@ -18,7 +18,7 @@ def default(tmp_path,reference_dir):
|
|||
|
||||
@pytest.fixture
|
||||
def reference_dir(reference_dir_base):
|
||||
"""directory containing reference results."""
|
||||
"""Directory containing reference results."""
|
||||
return os.path.join(reference_dir_base,'DADF5')
|
||||
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ def default():
|
|||
|
||||
@pytest.fixture
|
||||
def reference_dir(reference_dir_base):
|
||||
"""directory containing reference results."""
|
||||
"""Directory containing reference results."""
|
||||
return os.path.join(reference_dir_base,'Geom')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue