Questions tagged [nose2]

nose2 is the next generation of nicer testing for Python.

nose2 is the next generation of nicer testing for Python, based on the plugins branch of unittest2. nose2 aims to improve on nose by:

  • providing a better plugin api
  • being easier for users to configure
  • simplifying internal interfaces and processes
  • supporting Python 2 and 3 from the same codebase, without translation
  • encouraging greater community involvement in its development

https://github.com/nose-devs/nose2

46 questions
-1
votes
1 answer

How to assert variable content in unit test (Flask, Python3, Nose2)

I have a Flask app where some page content comes from a global variable. I'm trying to set up some unit testing to assert the data, but I can't seem to get even a local variable to work: TEST_STRING = foo self.assertIn(b['TEST_STRING'],…
mrrg
  • 21
  • 1
  • 4
1 2 3
4