Closed sloretz closed 7 years ago
I love the change. However, it looks like all CI has failed, with no yaml. I think we'll need to add python-yaml to the package.xml as well.
A couple of things:
@clalancette Will do with the package.xml!
I learned from @dirk-thomas that unit tests can't expect to have the python path set up for importing python packages from the current package in all cases when using catkin_make
. The unit test now adds ../src
to sys.path. catkin_make_isolated
and catkin build
don't have this issue.
@clalancette I updated the package.xml. An odd thing is it has a <depend>python</depend>
. I'm 99% sure that is unnecessary.
I agree with you that the
I notice the unit tests wasn't running when using
catkin_make run_tests
. I changed how the test was added to use the catkin cmake macros. I also added python-mock as a test dependency because the official ubuntu/trusty docker image does not have that installed by default.