Introducing test files for missing module tests

This commit is contained in:
Raphael Marvie 2018-10-04 12:05:23 +02:00 committed by ljf
parent 74ae352221
commit 1c90091132
12 changed files with 23 additions and 0 deletions

23
notes.txt Normal file
View file

@ -0,0 +1,23 @@
# running 2to3 on moulinette folder
$ 2to3 -w .
# creating test filesystem structure
$ mkdir tests
$ mkdir tests/moulinette/{authenticators,interfaces,utils}
# move existing tests to new structure
$ mv moulinette/utils/tests/* tests/moulinette/utils
# we should have (at least) one test file per moulinette module
$ for f in $(find moulinette -type f | grep -v __init__)
do
folder=$(dirname $f)
file=$(basename $f)
touch tests/$folder/test_$file
done

View file

View file

View file

View file

View file

View file

View file

View file

View file

View file