Skip to content

Commit

Permalink
Begin work on chapter 03
Browse files Browse the repository at this point in the history
  • Loading branch information
adomokos committed Sep 13, 2020
1 parent 919cb54 commit 9cf2217
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions spec/python_tricks/chapter03_spec.py
@@ -0,0 +1,13 @@
from mamba import description, it, context, fit
from expects import expect, equal, raise_error


def yell(text):
return text.upper() + '!'


with description('Chapter03') as self:
with context('functions'):
with it("first class citizens"):
result = yell('hello')
expect(result).to(equal('HELLO!'))

0 comments on commit 9cf2217

Please sign in to comment.