Skip to content

Commit

Permalink
Fix pass a wrong type env object
Browse files Browse the repository at this point in the history
Signed-off-by: Luyao Huang <[email protected]>
  • Loading branch information
LuyaoHuang committed Aug 21, 2019
1 parent b6afbc5 commit 45e303a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_case_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_gen_cases_special_method():

src_env = Env()
start_env = list(Env.gen_require_env(mock_func1))
end_env = Env.gen_require_env(mock_func6)
end_env = list(Env.gen_require_env(mock_func6))[0]
cases = list(case_generator.gen_cases_special(src_env, start_env, end_env))
assert len(cases) == 17
for case in cases:
Expand Down

0 comments on commit 45e303a

Please sign in to comment.