tests: move some flags from python -m tests
to config
#4943
+14
β6
python -m tests
to config
#4943