Skip to content

Commit e8900f9

Browse files
author
zgeorg
committed
adding test utils
1 parent bbd2103 commit e8900f9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/test_utils.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import unittest
2-
from unittest.mock import patch, mock_open
31
import os
4-
from utils import save_to_json, normalize_to_camel_case, normalize_date_format
2+
import unittest
3+
from unittest.mock import mock_open, patch
4+
5+
from utils import normalize_date_format, normalize_to_camel_case, save_to_json
56

67

78
class TestUtilsFunctions(unittest.TestCase):
@@ -38,5 +39,5 @@ def test_normalize_date_format_invalid(self):
3839
self.assertEqual(result, "invalid date")
3940

4041

41-
if __name__ == '__main__':
42+
if __name__ == "__main__":
4243
unittest.main()

0 commit comments

Comments
 (0)