Exemplo n.º 1
0
 def test_test_mode(self):
     """Tests that test_mode() returns True as we are in a test runner."""
     from plone.api.env import test_mode
     self.assertEqual(test_mode(), True)
Exemplo n.º 2
0
 def test_test_mode(self):
     """Tests that test_mode() returns True as we are in a test runner."""
     from plone.api.env import test_mode
     self.assertEqual(test_mode(), True)