1# Test load, simple and conditional 2load("assert.star", "assert") 3load(":module1.star", test1="test") 4load("//testdata:module2.star", test2="test") 5load(":module3|test", test3="test") 6 7 8def test(): 9 assert.eq(test1, "module1") 10 assert.eq(test2, "module2") 11 assert.eq(test3, None) 12 13 14test() 15