aboutsummaryrefslogblamecommitdiffstats
path: root/bin/test
blob: 4ffcb177685978a6a83772b0908b977ffa8f0a1e (plain) (tree)
1
2
3
4
5
6
7
8
           


                                                                            
                                                      
    
                                                                      
  
#!/bin/bash
if [[ $(python -V 2>&1) =~ "Python 2" ]]
then
    nosetests --nocapture --with-doctest --doctest-tests -I ^test.py $* && \
      pycodestyle --ignore=E402,W504 screenplain tests
else
    python test.py && pycodestyle --ignore=E402,W504 screenplain tests
fi