Exemplo n.º 1
0
 def a_test_with_metadata(self):
     expect(True).to.be_true()
Exemplo n.º 2
0
 def causing_a_traceback(self):
     expect(Nope).to.be_none()  # NOQA
Exemplo n.º 3
0
 def a_skipped_test(self):
     expect('trace').not_to.equal('boom')
Exemplo n.º 4
0
 def an_incomplete_test(self):
     expect('this should never be called').to.equal(None)
Exemplo n.º 5
0
 def also_should_be_able_to_access_boom(self):
     expect(self.boom).to.be_true()
Exemplo n.º 6
0
 def this_is_a_test(self):
     """My example doc"""
     require('bam').to.equal('bam')
     expect('bam').to.equal('bam')
Exemplo n.º 7
0
 def also_should_be_able_to_access_boom(self):
     expect(self.boom).to.be_true()
Exemplo n.º 8
0
 def an_incomplete_test(self):
     expect('this should never be called').to.equal(None)
Exemplo n.º 9
0
 def multi_line_expect(self):
     expect((
         'this '
         'is a test'
     )).to.equal('this is a test')
Exemplo n.º 10
0
 def sample_data(self, sample):
     expect(sample).to.equal([1])
Exemplo n.º 11
0
 def causes_multi_line_error(self):
     expect(TestObj()).to.be_none()
Exemplo n.º 12
0
 def causing_a_traceback(self):
     expect(Nope).to.be_none()  # NOQA
Exemplo n.º 13
0
 def a_test_with_metadata(self):
     expect(True).to.be_true()
Exemplo n.º 14
0
 def causes_multi_line_error(self):
     expect(TestObj()).to.be_none()
Exemplo n.º 15
0
 def this_is_a_test(self):
     """My example doc"""
     expect('bam').to.equal('bam')
Exemplo n.º 16
0
 def sample_data(self, sample):
     expect(sample).to.equal([1])
Exemplo n.º 17
0
 def a_skipped_test(self):
     expect('trace').not_to.equal('boom')