dimanche 26 avril 2015

how to python unittest with OptionParser.parse_args

I need to run a python test and not calling Gtk.main(), located inside the init of my class. At the moment I'm running single tests and multiple tests (suite).

I'm not able to run my python file with arguments.

python -m unittest testC_CollegaGUI -t
ImportError: No module named -t

Aucun commentaire:

Enregistrer un commentaire