Closed abitrolly closed 5 years ago
The import_fail module provides the ability to make installed modules report as not being installed, in order to verify that optional dependencies really are.
So how to fix Travis? https://travis-ci.org/andreikop/enki/
To make sure that Enki still works without optional dependencies, it may be convenient to separate tests for optional things. Right now tests fail without optional
docutils
installed. It is trivial to fix just by installingdocutils
on the test server, but then it is easy to miss the situation when modules likedocutils
become non-optional.https://travis-ci.org/andreikop/enki/jobs/417026472#L297 https://github.com/andreikop/enki/blob/3c6f030c370321c3b87b1cde459559380941635b/tests/run_all.py#L7