multiple test files run when I expect only one to run.

19 views
Skip to first unread message

Mitchell L Model

unread,
Sep 19, 2016, 4:13:30 PM9/19/16
to nose-...@googlegroups.com
  • Three files: test1.py, test2.py, test3.py
  • Each ends with if __name__ == '__main__': result = nose.run()
  • I am running these tests in an IDE
  • I execute test1.py
  • To my surprise the tests in test2.py and test3.py are executed also.

What is happening? How do I avoid it?



Reply all
Reply to author
Forward
0 new messages