Searched refs:mock_generator (Results 1 – 2 of 2) sorted by relevance
203 def assertInWithGeneratorInvariants(self, mock_generator): argument204 self.assertTrue(mock_generator.yielded)205 self.assertFalse(mock_generator.stopped)207 def assertAfterWithGeneratorInvariantsNoError(self, mock_generator): argument208 self.assertTrue(mock_generator.yielded)209 self.assertTrue(mock_generator.stopped)226 def assertAfterWithGeneratorInvariantsWithError(self, mock_generator): argument227 self.assertTrue(mock_generator.yielded)228 self.assertTrue(mock_generator.stopped)
208 def assertInWithGeneratorInvariants(self, mock_generator): argument209 self.assertTrue(mock_generator.yielded)210 self.assertFalse(mock_generator.stopped)212 def assertAfterWithGeneratorInvariantsNoError(self, mock_generator): argument213 self.assertTrue(mock_generator.yielded)214 self.assertTrue(mock_generator.stopped)231 def assertAfterWithGeneratorInvariantsWithError(self, mock_generator): argument232 self.assertTrue(mock_generator.yielded)233 self.assertTrue(mock_generator.stopped)