From 40db3cd26ee5cb535ca289a898b4ce4b129ff497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Mon, 30 Mar 2020 17:37:58 +0200 Subject: [PATCH] add pytest dependency --- requirements.txt | 3 ++- test.py | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 test.py diff --git a/requirements.txt b/requirements.txt index 07f9470..d573b3d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ sentry_sdk -requests \ No newline at end of file +requests +pytest \ No newline at end of file diff --git a/test.py b/test.py new file mode 100644 index 0000000..c3d4b78 --- /dev/null +++ b/test.py @@ -0,0 +1,20 @@ +#!/usr/bin/env python + +import pytest + +""" +Unit tests for producer module. +""" + +__author__ = "@tormakris" +__copyright__ = "Copyright 2020, GoldenPogácsa Team" +__module_name__ = "test" +__version__text__ = "1" + +class MyTestCase(unittest.TestCase): + def test_something(self): + self.assertEqual(True, False) + + +if __name__ == '__main__': + unittest.main()