def test_is_no_link(): no_link = ["path/1", "path/2"] assert build.is_no_link(no_link, "path/1") is True assert build.is_no_link(no_link, "path/nope") is None