Skip to content

Commit e4dee10

Browse files
committed
Uplift test file coverage to 100%
1 parent 42871f9 commit e4dee10

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

packages/pipeline/tests/test_operation/test_recognised_types.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,19 @@ def undo_func(self, sample):
4646
return sample
4747

4848

49+
def test_untested_lines():
50+
'''
51+
Test the parts of the test classes which aren't hit by the tests below...
52+
'''
53+
o = EmptyOperation()
54+
s = o.undo_func("sample")
55+
assert s == "sample"
56+
57+
o = AllowsOnlyTuples(True, int) # The constructor values are unimportant
58+
s = o.undo_func("sample")
59+
assert s == "sample"
60+
61+
4962
@pytest.mark.parametrize(
5063
"split, type",
5164
[

0 commit comments

Comments
 (0)