Example #1
0
 def test_returns_none(self):
     self.assertIsNone(noop())
Example #2
0
 def test_can_be_called_with_anything(self):
     noop()
     noop(1)
     noop(key='val')
     noop(1, key='val')
     noop(1, 2, 3, key='val')
     noop(1, 2, 3, key='val', another='thing')
Example #3
0
 def test_can_be_called_with_anything(self):
     noop()
     noop(1)
     noop(key='val')
     noop(1, key='val')
     noop(1, 2, 3, key='val')
     noop(1, 2, 3, key='val', another='thing')
Example #4
0
 def test_returns_none(self):
     self.assertIsNone(noop())
Example #5
0
 def test_returns_none(self):
     expect(noop()).to == None