Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Status](https://img.shields.io/pypi/v/testit-python-commons?style=plastic)](http
| 5.3 | 3.6.1.post530 | 3.6.1.post530 | 3.6.1.post530 | 3.6.1.post530 |
| 5.4 | 3.6.6.post540 | 3.6.6.post540 | 3.6.6.post540 | 3.6.6.post540 |
| 5.5 | 3.10.1.post550 | 3.10.1.post550 | 3.10.1.post550 | 3.10.1.post550 |
| 5.6 | 3.11.0.post560 | 3.11.0.post560 | 3.11.0.post560 | 3.11.0.post560 |
| 5.6 | 3.11.1.post560 | 3.11.1.post560 | 3.11.1.post560 | 3.11.1.post560 |
| Cloud | 3.10.4 + | 3.10.4 + | 3.10.4 + | 3.10.4 + |

1. For current versions, see the releases tab.
Expand Down
2 changes: 1 addition & 1 deletion testit-adapter-behave/setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import find_packages, setup

VERSION = "3.11.0.post560"
VERSION = "3.11.1.post560"

setup(
name='testit-adapter-behave',
Expand Down
2 changes: 1 addition & 1 deletion testit-adapter-nose/setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages

VERSION = "3.11.0.post560"
VERSION = "3.11.1.post560"

setup(
name='testit-adapter-nose',
Expand Down
2 changes: 1 addition & 1 deletion testit-adapter-pytest/setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import find_packages, setup

VERSION = "3.11.0.post560"
VERSION = "3.11.1.post560"

setup(
name='testit-adapter-pytest',
Expand Down
2 changes: 1 addition & 1 deletion testit-adapter-robotframework/setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import find_packages, setup

VERSION = "3.11.0.post560"
VERSION = "3.11.1.post560"

setup(
name='testit-adapter-robotframework',
Expand Down
2 changes: 1 addition & 1 deletion testit-python-commons/setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import find_packages, setup

VERSION = "3.11.0.post560"
VERSION = "3.11.1.post560"

setup(
name='testit-python-commons',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import asyncio
import inspect
import logging
import types
from functools import wraps
Expand Down Expand Up @@ -28,7 +29,7 @@ async def async_wrapper(*args, **kwargs):
await function(*args, **kwargs)

if isinstance(function, types.FunctionType):
if asyncio.iscoroutinefunction(function):
if inspect.iscoroutinefunction(function):
return async_wrapper

return sync_wrapper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ class TestResult:

@adapter_logger
def set_external_id(self, external_id: str):
self.__external_id = HtmlEscapeUtils.escape_html_tags(external_id)
# don't use escaping for externalId
# self.__external_id = HtmlEscapeUtils.escape_html_tags(external_id)
self.__external_id = external_id

return self

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ def _process_object_attributes(obj: Any) -> None:
# Skip private/protected attributes and methods
if attr_name.startswith('_') or callable(getattr(obj, attr_name, None)):
continue
if attr_name.startswith("external_id") or attr_name.startswith("externalId"):
continue

try:
value = getattr(obj, attr_name)
Expand Down
Loading