Skip to content

Commit

Permalink
feat: added unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
eeshanw committed Feb 26, 2024
1 parent 04e196b commit a60d253
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions backend/api/tests/example/test_example.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import unittest

class ExampleTest(unittest.TestCase):

def test_example(self):
self.assertEqual(1, 1)


if __name__ == "__main__":
unittest.main()
3 changes: 3 additions & 0 deletions backend/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ deploy-to-aws:
undeploy-from-aws:
cd api && poetry run chalice delete

test-all:
python -m unittest discover -s api/tests/example

# Display help with a list of available targets and their descriptions
help:
@echo "Available targets:"
Expand Down

0 comments on commit a60d253

Please sign in to comment.