Skip to content
Snippets Groups Projects
Commit 3fbd3010 authored by lukas leufen's avatar lukas leufen
Browse files

adjusted test function names

parent 6357486d
No related branches found
No related tags found
2 merge requests!59Develop,!46Felix #56 advanced paddings
Pipeline #31081 passed with warnings
......@@ -116,7 +116,7 @@ class TestPadUtils:
"or a tuple of 2 tuples of 2 ints ((top_pad, bottom_pad), (left_pad, right_pad)). Found: 1.2 of type " \
"<class 'float'>" in str(einfo.value)
def test_check_padding_format_tupe_of_tuple_none_integer_first(self):
def test_check_padding_format_tuple_of_tuple_none_integer_first(self):
with pytest.raises(ValueError) as einfo:
PadUtils.check_padding_format(((1., 2), (3, 4)))
assert "`padding[0]` should have one or two elements of type int. Found:(1.0, 2) " \
......@@ -132,7 +132,7 @@ class TestPadUtils:
assert "`padding[0]` should have one or two elements of type int. Found:(1, '2') " \
"of type [<class 'int'>, <class 'str'>]" in str(einfo.value)
def test_check_padding_format_tupe_of_tuple_none_integer_second(self):
def test_check_padding_format_tuple_of_tuple_none_integer_second(self):
with pytest.raises(ValueError) as einfo:
PadUtils.check_padding_format(((1, 2), (3., 4)))
assert "`padding[1]` should have one or two elements of type int. Found:(3.0, 4) " \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment