t-bug-catcher 0.4.6__tar.gz → 0.4.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/PKG-INFO +1 -1
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/setup.cfg +1 -1
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/setup.py +1 -1
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/t_bug_catcher/__init__.py +1 -1
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/t_bug_catcher/jira.py +1 -1
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/t_bug_catcher/utils/common.py +4 -1
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/t_bug_catcher.egg-info/PKG-INFO +1 -1
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/tests/test_t_bug_catcher.py +1 -1
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/MANIFEST.in +0 -0
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/README.rst +0 -0
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/pyproject.toml +0 -0
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/requirements.txt +0 -0
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/t_bug_catcher/bug_catcher.py +0 -0
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/t_bug_catcher/bug_snag.py +0 -0
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/t_bug_catcher/config.py +0 -0
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/t_bug_catcher/exceptions.py +0 -0
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/t_bug_catcher/resources/whispers_config.yml +0 -0
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/t_bug_catcher/stack_saver.py +0 -0
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/t_bug_catcher/utils/__init__.py +0 -0
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/t_bug_catcher/utils/logger.py +0 -0
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/t_bug_catcher/workitems.py +0 -0
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/t_bug_catcher.egg-info/SOURCES.txt +0 -0
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/t_bug_catcher.egg-info/dependency_links.txt +0 -0
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/t_bug_catcher.egg-info/not-zip-safe +0 -0
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/t_bug_catcher.egg-info/requires.txt +0 -0
- {t_bug_catcher-0.4.6 → t_bug_catcher-0.4.7}/t_bug_catcher.egg-info/top_level.txt +0 -0
|
@@ -26,7 +26,7 @@ setup(
|
|
|
26
26
|
packages=find_packages(include=["t_bug_catcher", "t_bug_catcher.*"]),
|
|
27
27
|
test_suite="tests",
|
|
28
28
|
url="https://www.thoughtful.ai/",
|
|
29
|
-
version="0.4.
|
|
29
|
+
version="0.4.7",
|
|
30
30
|
zip_safe=False,
|
|
31
31
|
install_requires=install_requirements,
|
|
32
32
|
include_package_data=True,
|
|
@@ -21,7 +21,10 @@ class Encoder(JSONEncoder):
|
|
|
21
21
|
Returns:
|
|
22
22
|
str: The json string.
|
|
23
23
|
"""
|
|
24
|
-
|
|
24
|
+
try:
|
|
25
|
+
object_copy = copy.deepcopy(o)
|
|
26
|
+
except TypeError:
|
|
27
|
+
return str(o)
|
|
25
28
|
try:
|
|
26
29
|
if hasattr(object_copy, "__dict__"):
|
|
27
30
|
keys_to_remove = [
|
|
@@ -65,7 +65,7 @@ class TestBugCatcher(unittest.TestCase):
|
|
|
65
65
|
actual_call = mock_warning.call_args
|
|
66
66
|
warning_message = actual_call[0][0]
|
|
67
67
|
self.assertTrue(warning_message.startswith("Failed to create Jira issue due to"))
|
|
68
|
-
self.assertEqual(mock_warning.call_count,
|
|
68
|
+
self.assertEqual(mock_warning.call_count, 1)
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
if __name__ == "__main__":
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|