Skip to content
Snippets Groups Projects
Commit e3137061 authored by Kenneth Reitz's avatar Kenneth Reitz Committed by GitHub
Browse files

Merge pull request #17 from zinob/master

Lets allow the helpers to be helpfull
parents 9bce61d2 983ab0fe
No related branches found
No related tags found
No related merge requests found
# -*- coding: utf-8 -*-
from . import helpers
def get_hmm():
"""Get a thought."""
return 'hmmm...'
def hmm():
"""Contemplation..."""
print get_hmm()
\ No newline at end of file
if helpers.get_answer():
print(get_hmm())
def get_answer():
"""Get an answer."""
return True
......@@ -9,8 +9,8 @@ class AdvancedTestSuite(unittest.TestCase):
"""Advanced test cases."""
def test_thoughts(self):
sample.hmm()
self.assertIsNone(sample.hmm())
if __name__ == '__main__':
unittest.main()
\ No newline at end of file
unittest.main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment