# Mongo executable for pytest-mongo

**URL:** <https://discuss.circleci.com/t/mongo-executable-for-pytest-mongo/14821>\
**Category:** Programming Languages\
**Tags:** python, mongo\
**Created:** [July 27, 2017, 12:34am UTC](https://discuss.circleci.com/t/mongo-executable-for-pytest-mongo/14821 "2017-07-27T00:34:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lohrmann](https://avatars.discourse-cdn.com/v4/letter/l/77aa72/32.png) [@lohrmann](https://discuss.circleci.com/u/lohrmann)\
**Post date:** [July 27, 2017, 12:34am UTC](https://discuss.circleci.com/t/mongo-executable-for-pytest-mongo/14821/1 "2017-07-27T00:34:48Z")

</div>

Hi,

I’m running pytest which needs access to `/usr/bin/mongod`. What path is the mongo executable accessible on if I add it with the docker image command? Is it at all? Or do I need to install it separately?

On a sidenote, I am runnig pytest via `python setup.py pytest` which does not take advantage of the dependencies cache. Is there any way to speed up the test, by caching the eggs as it does on my local machine?

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:33am UTC](https://discuss.circleci.com/t/mongo-executable-for-pytest-mongo/14821/2 "2018-06-18T11:33:13Z")

</div>

Closed on June 18, 2018, 11:33am UTC


