def test_trace_33_dec(): result = trace(cond_return_dec) assert len(result.covered_lines) == 2 assert len(result.all_lines) == 3 assert result.func_result == 456
def test_trace_100_exclude_everythong_else(): result = trace(call_another) assert len(result.covered_lines) == 2 assert len(result.all_lines) == 2 assert result.func_result == 456
def test_trace_100(): result = trace(just_return) assert len(result.covered_lines) == 1 assert len(result.all_lines) == 1 assert result.func_result == 123