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
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)