Closed ercaronte closed 4 months ago
@ekarademir or @david-molnar-oculai can you please have a look at this PR?
Nice, I think I also run into this problem before. It's just annoying. Thanks for the fix.
Thanks, this solved my issue! A temporary workaround is to configure the Port as a str in setup.cfg
This is now published. Thank you for the contribution @SparksFlyx3
This PR fixes issue https://github.com/kaizendorks/pymongo_inmemory/issues/98 When when using the
mongod_port
parameter the library code crashes with the following exception:The cause of the error is that the
subprocess.Popen
method does not accept int arguments, while themongod_port
parameter is forced as integer.The mongod port value is set as str in all cases, except when passed as a customer parameter. The proposed code change fixes this case.