From 2cfc9e5464c0e8ee0bdedfa703b0d118da1e6975 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Fri, 4 Jun 2021 17:46:40 +0200 Subject: [PATCH] more coverage tests --- tests/test_coding/test_optionals.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_coding/test_optionals.py b/tests/test_coding/test_optionals.py index 290934ec..80a164bb 100644 --- a/tests/test_coding/test_optionals.py +++ b/tests/test_coding/test_optionals.py @@ -8,6 +8,7 @@ class TestOptionals(unittest.TestCase): def test_extract_optional(self): b = Optional(None) self.assertIs(extract_optional(b.test.value), None) + self.assertEqual(extract_optional(5), 5) def test_optional(self): b = Optional(None) -- GitLab