Commit f198620f authored by Matt Clarkson's avatar Matt Clarkson

Issue #3: Tweaks to test names to make them more readable.

parent f6bd4cda
Pipeline #565 passed with stages
in 7 minutes and 2 seconds
......@@ -4,7 +4,13 @@ import pytest
import sksurgerycore.configuration.configuration_manager as cm
def test_constructor_with_empty_filename():
def test_constructor_fails_with_null_filename():
with pytest.raises(ValueError):
cm.ConfigurationManager(None)
def test_constructor_fails_with_empty_filename():
with pytest.raises(ValueError):
cm.ConfigurationManager("")
......
......@@ -8,7 +8,7 @@ import pytest
from sksurgerycore.utilities import file_utilities as f
def test_invalid_file_name():
def test_invalid_file_name_because_non_existent():
with pytest.raises(ValueError):
f.validate_is_file("/invalid/file/name")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment