Posts

Showing posts from March, 2019

Build m2o relations in SqlAlchemy with a composite FK

Solution is well defined in the next article.

Spring boot trailing slashes match

Spring boot uses special configuration to set up trailing slashes, which is an overridden method of WebMvcConfigurer - configurePathMatch. More information can be found here .

How to run Python tests with Jenkins pipeline

From my point of view good solution is to use virtualenv there. Below is small snippet of code for a Jenkinsfile. sh """ pip install --user virtualenv && virtualenv venv && . \$(pwd)/venv/bin/activate && pip install -r src/test_requirements.txt && export PYTHONPATH="src" && cd src/tests && nosetests -v """