void () { myFixture.copyDirectoryToProject("blockEvaluator", ""); final PyFile file = PyUtil.as(myFixture.configureByFile("my_module.py"), PyFile.class); assert file != null : "Failed to read file"; final PyBlockEvaluator sut = new PyBlockEvaluator(); sut.evaluate(file); Assert.assertEquals("Failed to read var from package module", "foo", sut.getValueAsString("VARIABLE_IN_PACKAGE_MODULE")); Assert.assertEquals("Failed to read var from package", "foo", sut.getValueAsString("VARIABLE_IN_PACKAGE")); Assert.assertEquals("Failed to read list from another module", Arrays.asList("a", "b", "c", "d"), sut.getValueAsList("SOME_LIST")); Assert.assertEquals("Failed to read var from another module", "42", sut.getValueAsString("SOME_VARIABLE")); Assert.assertEquals("Failed to read var from another module with alias", "foo", sut.getValueAsString("MY_RENAMED_VAR")); }