irc.libera.chat #tryton log beginning Thu May 5 12:00:01 AM CEST 2022 | ||
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 23:04 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 23:04 | |
-!- PT1(~PT3@r167-57-58-3.dialup.adsl.anteldata.net.uy) has joined #tryton | 02:09 | |
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:ed77:85ea:af2b:ba6e) has joined #tryton | 04:55 | |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 05:37 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:28 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 06:28 | |
-!- rpit(~rpit@p4ffb7313.dip0.t-ipconnect.de) has joined #tryton | 07:12 | |
-!- nicoe(~nicoe@2a02:578:852a:c00:18c2:1aff:fef9:2b7f) has joined #tryton | 07:49 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 08:13 | |
mrichez | hi, did someone already get this error when running tests: "ImportError : start directory is not importable" ? | 11:45 |
---|---|---|
mrichez | it's ok for all of my custom modules except one... | 11:46 |
cedk | mrichez: often this is because of a relative import in the tests if you specify a file path instead of a import path as start | 12:09 |
mrichez | cedk: will reinstall my virtualenv and retry. Thanks ! | 12:10 |
cedk | mrichez: I do not think it is related to installation | 12:13 |
cedk | but if in the tests folder you got relative import they probably fails | 12:13 |
mrichez | some of my tests are working when doing ".. -s nameofmodule.tests" | 12:13 |
mrichez | tests folders are the same for each module (except rst file) | 12:14 |
cedk | you should use: -s trytond.modules.<module name>.tests | 12:14 |
cedk | or -s <module name>/tests (but this one may fail with relative import) | 12:15 |
mrichez | cedk: in my case, all tryton modules are in virtualenv so command -s trytond.modules.<module name>.tests is not working | 12:19 |
mrichez | cedk: everything is ok, doing -s <module name>/tests :-) Thx | 12:22 |
-!- springwurm(~springwur@5.104.149.54) has joined #tryton | 12:30 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 14:06 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 14:06 | |
cedk | for the record my modem is broken, so drone is no more accessible | 14:07 |
cedk | it should be replaced tomorrow morning | 14:07 |
pokoli | cedk: thanks for the info. I think we can live with that! | 14:26 |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 15:29 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 15:29 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 16:42 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 16:42 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 19:31 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 19:31 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!