def test_qimodule(qipy_action):
    qipy_action.add_test_project("foomodules")
    qipy_action("bootstrap")
    sourceme = qipy_action("sourceme")
    bin_path = os.path.dirname(sourceme)
    venv_path = os.path.join(bin_path, "..")
    venv_path = qisys.sh.to_native_path(venv_path)
    for name in ["foo", "bar"]:
        mod_path = os.path.join(venv_path, "share", "qi", "module", name % "%s.mod")
        with open(mod_path, "r") as fp:
            contents = fp.read()
        assert contents == "python\n"
dataset/ETHPy150Open aldebaran/qibuild/python/qipy/test/test_qipy_bootstrap.py/test_qimodule/swapped operands of `%`