[Avocado-devel] subclassing avocado

Brian J. Murrell brian at interlinx.bc.ca
Tue Nov 6 19:41:49 UTC 2018


On Tue, 2018-11-06 at 20:16 +0100, Lukáš Doktor wrote:
> 
> Yes, this is related to the fact that the code is not being executed,
> but only analyzed on discovery.

The only difference between the two test_example.py files though is
what it adds via sys.path.append():

-sys.path.append('./')
+sys.path.append('./util/apricot')

I'm having trouble understanding why one of those works and the other
doesn't.
 

> Anyway to workaround this issue you can always set PYTHONPATH
> directly on cmdline:

That does seem to work, but is big ugly.  :-(

Cheers,
b.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/avocado-devel/attachments/20181106/dba5c6a7/attachment.sig>


More information about the Avocado-devel mailing list