From 5b45b077f610c95b3b034bd91a0170064dc321c8 Mon Sep 17 00:00:00 2001 From: Marcel Nijenhof Date: Wed, 16 Sep 2020 23:14:31 +0200 Subject: [PATCH 1/3] Afhankelijkheid dateutil toegevoegd aan setup --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 0e40fe1..ff7f756 100644 --- a/setup.py +++ b/setup.py @@ -13,6 +13,9 @@ setuptools.setup( long_description_content_type="text/markdown", url="https://marceln.org/git/Werk/lmwsip", packages=setuptools.find_packages(), + install_requires=[ + 'python-dateutil', + ], classifiers=[ "Programming Language :: Python :: 3", "License :: TODO", From b79438209b5f6f0d46c128a98dfc45b3232d47db Mon Sep 17 00:00:00 2001 From: Marcel Nijenhof Date: Wed, 16 Sep 2020 23:14:57 +0200 Subject: [PATCH 2/3] Extra test voor value toegevoegd --- lmwsip/tests/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lmwsip/tests/__init__.py b/lmwsip/tests/__init__.py index 5222adf..92c0d59 100755 --- a/lmwsip/tests/__init__.py +++ b/lmwsip/tests/__init__.py @@ -42,6 +42,10 @@ class lmwsipTest(unittest.TestCase): self.login() self.assertEqual(type(self.sip.cmd("WN", "DUMMY", "D10", "+00:59", "2020-01-01", "00:00")), str) + def test_value(self): + self.login() + self.assertEqual(type(self.sip.value("WN", "DUMMY", "D10")), str) + def test_logout(self): self.login() self.assertEqual(self.sip.logout(), None) From 3d66a317929ed9b5a8ca5b1deaad7fdfec0141c6 Mon Sep 17 00:00:00 2001 From: Marcel Nijenhof Date: Wed, 16 Sep 2020 23:15:21 +0200 Subject: [PATCH 3/3] Versie verhoogd --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ff7f756..b843db4 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ with open("README.md", "r") as fh: setuptools.setup( name="lmwsip", # Replace with your own username - version="0.0.4", + version="0.0.5", author="Marcel Nijenhof", author_email="pip@pion.xs4all.nl", description="Interface for the lmw sip protocol",