Skip to content

Commit

Permalink
Adding logic to exercise the unit test (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtlynch committed Jul 8, 2019
1 parent 2279527 commit 33ae165
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions app/dummy.py
@@ -0,0 +1,9 @@
"""Dummy module.
Dummy module to exercise unit test code. Replace this with actual application
logic.
"""


def dummy():
return 'dummy'
4 changes: 3 additions & 1 deletion tests/test_dummy.py
@@ -1,8 +1,10 @@
import unittest

from app import dummy


class DummyTest(unittest.TestCase):
"""Replace this with a real unit test class."""

def test_dummy(self):
self.assertTrue(True)
self.assertEqual('dummy', dummy.dummy())

0 comments on commit 33ae165

Please sign in to comment.