qase-python-commons 3.1.2__tar.gz → 3.1.3__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.
Potentially problematic release.
This version of qase-python-commons might be problematic. Click here for more details.
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/PKG-INFO +1 -1
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/pyproject.toml +1 -1
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/logger.py +4 -4
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase_python_commons.egg-info/PKG-INFO +1 -1
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/README.md +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/setup.cfg +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/__init__.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/client/api_v1_client.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/client/api_v2_client.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/client/base_api_client.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/config.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/exceptions/reporter.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/loader.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/__init__.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/attachment.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/basemodel.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/config/api.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/config/batch.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/config/connection.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/config/framework.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/config/plan.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/config/qaseconfig.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/config/report.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/config/run.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/config/testops.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/relation.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/result.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/run.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/runtime.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/step.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/suite.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/profilers/__init__.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/profilers/db.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/profilers/network.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/profilers/sleep.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/reporters/__init__.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/reporters/core.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/reporters/report.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/reporters/testops.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/utils.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/validators/base.py +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase_python_commons.egg-info/SOURCES.txt +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase_python_commons.egg-info/dependency_links.txt +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase_python_commons.egg-info/requires.txt +0 -0
- {qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase_python_commons.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qase-python-commons
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.3
|
|
4
4
|
Summary: A library for Qase TestOps and Qase Report
|
|
5
5
|
Author-email: Qase Team <support@qase.io>
|
|
6
6
|
Project-URL: Homepage, https://github.com/qase-tms/qase-python/tree/master/qase-python-commons
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "qase-python-commons"
|
|
7
|
-
version = "3.1.
|
|
7
|
+
version = "3.1.3"
|
|
8
8
|
description = "A library for Qase TestOps and Qase Report"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [{name = "Qase Team", email = "support@qase.io"}]
|
|
@@ -11,7 +11,7 @@ class Logger:
|
|
|
11
11
|
if not os.path.exists(dir):
|
|
12
12
|
os.makedirs(dir)
|
|
13
13
|
self.log_file = os.path.join(dir, f'{filename}')
|
|
14
|
-
with open(self.log_file, 'w'):
|
|
14
|
+
with open(self.log_file, 'w', encoding='utf-8'):
|
|
15
15
|
pass
|
|
16
16
|
|
|
17
17
|
def log(self, message: str, level: str = 'info'):
|
|
@@ -19,7 +19,7 @@ class Logger:
|
|
|
19
19
|
log = f"[Qase][{time_str}][{level}] {message}\n"
|
|
20
20
|
print(log)
|
|
21
21
|
if self.debug:
|
|
22
|
-
with open(self.log_file, 'a') as f:
|
|
22
|
+
with open(self.log_file, 'a', encoding='utf-8') as f:
|
|
23
23
|
f.write(log)
|
|
24
24
|
|
|
25
25
|
def log_debug(self, message: str):
|
|
@@ -27,6 +27,6 @@ class Logger:
|
|
|
27
27
|
self.log(message, 'debug')
|
|
28
28
|
|
|
29
29
|
@staticmethod
|
|
30
|
-
def _get_timestamp(
|
|
30
|
+
def _get_timestamp(fmt: str = "%Y%m%d_%H_%M_%S"):
|
|
31
31
|
now = datetime.datetime.now()
|
|
32
|
-
return now.strftime(
|
|
32
|
+
return now.strftime(fmt)
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase_python_commons.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: qase-python-commons
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.3
|
|
4
4
|
Summary: A library for Qase TestOps and Qase Report
|
|
5
5
|
Author-email: Qase Team <support@qase.io>
|
|
6
6
|
Project-URL: Homepage, https://github.com/qase-tms/qase-python/tree/master/qase-python-commons
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/client/api_v1_client.py
RENAMED
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/client/api_v2_client.py
RENAMED
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/client/base_api_client.py
RENAMED
|
File without changes
|
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/exceptions/reporter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/attachment.py
RENAMED
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/basemodel.py
RENAMED
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/config/api.py
RENAMED
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/config/batch.py
RENAMED
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/config/connection.py
RENAMED
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/config/framework.py
RENAMED
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/config/plan.py
RENAMED
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/config/qaseconfig.py
RENAMED
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/config/report.py
RENAMED
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/config/run.py
RENAMED
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/models/config/testops.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/profilers/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/profilers/network.py
RENAMED
|
File without changes
|
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/reporters/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/reporters/report.py
RENAMED
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase/commons/reporters/testops.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{qase_python_commons-3.1.2 → qase_python_commons-3.1.3}/src/qase_python_commons.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|