Ejemplo n.º 1
0
 def test_makes_new_mock_and_attaches_each_kwarg_to_it(self):
     tracker = track(foo=self.foo_mock, bar=self.bar_mock)
     expect(tracker.foo).to == self.foo_mock
     expect(tracker.bar).to == self.bar_mock
Ejemplo n.º 2
0
 def test_makes_new_mock_and_attaches_each_kwarg_to_it(self):
     tracker = track(foo=self.foo_mock, bar=self.bar_mock)
     self.assertEqual(tracker.foo, self.foo_mock)
     self.assertEqual(tracker.bar, self.bar_mock)
Ejemplo n.º 3
0
 def test_makes_new_mock_and_attaches_each_kwarg_to_it(self):
     tracker = track(foo=self.foo_mock, bar=self.bar_mock)
     self.assertEqual(tracker.foo, self.foo_mock)
     self.assertEqual(tracker.bar, self.bar_mock)