freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Integrating Docwriter into FreeType


From: Nikhil Ramakrishnan
Subject: Re: [ft-devel] Integrating Docwriter into FreeType
Date: Mon, 30 Jul 2018 03:08:44 +0530


Keep in mind that you need to tell tox to cd into tests/ before running pytest, otherwise you’re testing the source directory instead of the installed package.

https://tox.readthedocs.io/en/latest/config.html#confval-changedir=path

I'm running the tests on the source directory using `python -m pytest' with tox. Pytest collects all tests and runs it on the source, and all imports in the test files are like 'from docwriter import ...' so I think this is the right configuration. Am I missing something? (https://travis-ci.com/nikramakrishnan/freetype-docwriter/jobs/136998196#L445)


--
Nikhil

reply via email to

[Prev in Thread] Current Thread [Next in Thread]