def a_test_with_metadata(self): expect(True).to.be_true()
def causing_a_traceback(self): expect(Nope).to.be_none() # NOQA
def a_skipped_test(self): expect('trace').not_to.equal('boom')
def an_incomplete_test(self): expect('this should never be called').to.equal(None)
def also_should_be_able_to_access_boom(self): expect(self.boom).to.be_true()
def this_is_a_test(self): """My example doc""" require('bam').to.equal('bam') expect('bam').to.equal('bam')
def multi_line_expect(self): expect(( 'this ' 'is a test' )).to.equal('this is a test')
def sample_data(self, sample): expect(sample).to.equal([1])
def causes_multi_line_error(self): expect(TestObj()).to.be_none()
def this_is_a_test(self): """My example doc""" expect('bam').to.equal('bam')