Example #1
0
 def this_was_called():
     assert sure.it('is_running')
     return True
Example #2
0
 def this_was_called():
     assert sure.it("is_running")
     return True
u"".should.be.an(unicode)
[].should.be.a(list)


(10).should.be.below(11)
(10).should.be.above(9)
(10).should_not.be.above(11)
(10).should_not.be.below(9)


from sure import it, this, those, these, expect

(10).should.be.equal(5 + 5)
this(10).should.be.equal(5 + 5)
it(10).should.be.equal(5 + 5)
these(10).should.be.equal(5 + 5)
those(10).should.be.equal(5 + 5)


assert (10).should.be.equal(5 + 5)
assert this(10).should.be.equal(5 + 5)
assert it(10).should.be.equal(5 + 5)
assert these(10).should.be.equal(5 + 5)
assert those(10).should.be.equal(5 + 5)

expect(10).to.be.equal(5 + 5)
expect(10).to.not_be.equal(8)


range.should.be.callable