pytest-json-ctrf 0.3.5__tar.gz → 0.3.6__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.
Files changed (18) hide show
  1. {pytest_json_ctrf-0.3.5 → pytest_json_ctrf-0.3.6}/PKG-INFO +2 -2
  2. {pytest_json_ctrf-0.3.5 → pytest_json_ctrf-0.3.6}/ctrf/TestObject.py +1 -1
  3. {pytest_json_ctrf-0.3.5 → pytest_json_ctrf-0.3.6}/pyproject.toml +2 -2
  4. {pytest_json_ctrf-0.3.5 → pytest_json_ctrf-0.3.6}/pytest_json_ctrf.egg-info/PKG-INFO +2 -2
  5. {pytest_json_ctrf-0.3.5 → pytest_json_ctrf-0.3.6}/README.md +0 -0
  6. {pytest_json_ctrf-0.3.5 → pytest_json_ctrf-0.3.6}/ctrf/BaseMetadataReport.py +0 -0
  7. {pytest_json_ctrf-0.3.5 → pytest_json_ctrf-0.3.6}/ctrf/CommonTestReportPlugin.py +0 -0
  8. {pytest_json_ctrf-0.3.5 → pytest_json_ctrf-0.3.6}/ctrf/Report.py +0 -0
  9. {pytest_json_ctrf-0.3.5 → pytest_json_ctrf-0.3.6}/ctrf/__init__.py +0 -0
  10. {pytest_json_ctrf-0.3.5 → pytest_json_ctrf-0.3.6}/ctrf/main.py +0 -0
  11. {pytest_json_ctrf-0.3.5 → pytest_json_ctrf-0.3.6}/pytest_json_ctrf.egg-info/SOURCES.txt +0 -0
  12. {pytest_json_ctrf-0.3.5 → pytest_json_ctrf-0.3.6}/pytest_json_ctrf.egg-info/dependency_links.txt +0 -0
  13. {pytest_json_ctrf-0.3.5 → pytest_json_ctrf-0.3.6}/pytest_json_ctrf.egg-info/entry_points.txt +0 -0
  14. {pytest_json_ctrf-0.3.5 → pytest_json_ctrf-0.3.6}/pytest_json_ctrf.egg-info/requires.txt +0 -0
  15. {pytest_json_ctrf-0.3.5 → pytest_json_ctrf-0.3.6}/pytest_json_ctrf.egg-info/top_level.txt +0 -0
  16. {pytest_json_ctrf-0.3.5 → pytest_json_ctrf-0.3.6}/setup.cfg +0 -0
  17. {pytest_json_ctrf-0.3.5 → pytest_json_ctrf-0.3.6}/tests/test_example.py +0 -0
  18. {pytest_json_ctrf-0.3.5 → pytest_json_ctrf-0.3.6}/tests/test_plugin.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pytest-json-ctrf
3
- Version: 0.3.5
3
+ Version: 0.3.6
4
4
  Summary: Pytest plugin to generate json report in CTRF (Common Test Report Format)
5
5
  Author: Oleksii Ostapov
6
6
  Project-URL: Infopulse, https://infopulse.com/
@@ -79,7 +79,7 @@ class TestObject:
79
79
 
80
80
  def update(self, report: TestReport) -> None:
81
81
  self.set_status(report)
82
- self.duration += report.duration
82
+ self.duration += 1000 * report.duration # pytest reports duration in seconds, CTRF requires milliseconds
83
83
  if report.when == "setup" and self.start == 0:
84
84
  self.start = report.start
85
85
  if report.when == "teardown" and self.stop == 0:
@@ -10,7 +10,7 @@ exclude = [
10
10
 
11
11
  [project]
12
12
  name = "pytest-json-ctrf"
13
- version = "0.3.5"
13
+ version = "0.3.6"
14
14
 
15
15
  dependencies = [
16
16
  "pytest>6.0.0",
@@ -40,4 +40,4 @@ markers = [
40
40
  ]
41
41
 
42
42
  [project.entry-points.pytest11]
43
- ctrf = "ctrf.main"
43
+ ctrf = "ctrf.main"
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pytest-json-ctrf
3
- Version: 0.3.5
3
+ Version: 0.3.6
4
4
  Summary: Pytest plugin to generate json report in CTRF (Common Test Report Format)
5
5
  Author: Oleksii Ostapov
6
6
  Project-URL: Infopulse, https://infopulse.com/