Skip to content

Commit 058c4dd

Browse files
committed
Added test for bootstrap dependency checking
1 parent 514571a commit 058c4dd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_graph.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ def test_invalid_recipe_order_and_bootstrap(names, bootstrap):
3131
with pytest.raises(SystemExit):
3232
get_recipe_order_and_bootstrap(ctx, names, bootstrap)
3333

34-
34+
def test_bootstrap_dependency_addition():
35+
build_order, python_modules, bs = get_recipe_order_and_bootstrap(
36+
ctx, ['kivy'], None)
37+
assert (('hostpython2' in build_order) or ('hostpython3' in build_order))
3538

3639
if __name__ == "__main__":
3740
get_recipe_order_and_bootstrap(ctx, ['python3'], Bootstrap.get_bootstrap('sdl2', ctx))

0 commit comments

Comments
 (0)