[trac610] Test work with separate builddir
If we ask python to import module.submodule, it gets the first module/ directory with __init__.py in it. This is a problem if our module (actually bindctl program) has some generated and some ready files. So this uses the module.submodule only for the not generated ones, and has module/ directly in path for the generated (we import submodule, not module.submodule). This is only in the test.
Showing with 143 additions and 4 deletions