Пример #1
0
 def test_is_passed_called_with_normal_params(self):
     expect(Explanation.is_passed(1)).to.eq(True)
     expect(Explanation.is_passed('a')).to.eq(True)
Пример #2
0
 def test_is_passed_called_with_none(self):
     expect(Explanation.is_passed(None)).to.eq(True)
Пример #3
0
 def test_is_passed_called_with_object(self):
     expect(Explanation.is_passed(object)).to.eq(False)
Пример #4
0
 def test_is_passed_called_with_normal_params(self):
     expect(Explanation.is_passed(1)).to.eq(True)
     expect(Explanation.is_passed('a')).to.eq(True)
Пример #5
0
 def test_is_passed_called_with_none(self):
     expect(Explanation.is_passed(None)).to.eq(True)
Пример #6
0
 def test_is_passed_called_with_object(self):
     expect(Explanation.is_passed(object)).to.eq(False)