Skip to content

Commit

Permalink
Fix broken unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Luyao Huang <[email protected]>
  • Loading branch information
LuyaoHuang committed Aug 20, 2019
1 parent a2e5c1f commit e0ba544
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_case_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ def test_gen_cases_special_method():
case_generator.gen_depend_map(test_funcs)

src_env = Env()
start_env = Env.gen_require_env(mock_func1)
end_env = Env.gen_require_env(mock_func6)
start_env = list(Env.gen_require_env(mock_func1))
end_env = list(Env.gen_require_env(mock_func6))
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 e0ba544

Please sign in to comment.