gcc in rawhide detects that these variables were declared in any file that imported mod_nss.h. Move them to mod_nss.c instead and declare them as extern in the places they are used.
Also fix the test framework to use python 3 (dropping python 2 support) and do some flake8 cleanup of the python code (mostly dropping unused imports, indentions and unused variables).
gcc in rawhide detects that these variables were declared in any file that imported mod_nss.h. Move them to mod_nss.c instead and declare them as extern in the places they are used.
Also fix the test framework to use python 3 (dropping python 2 support) and do some flake8 cleanup of the python code (mostly dropping unused imports, indentions and unused variables).