robotframework-logxml2chunks 1.1.4__tar.gz → 1.1.5__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 (16) hide show
  1. {robotframework_logxml2chunks-1.1.4 → robotframework_logxml2chunks-1.1.5}/LogXML2Chunks/LogXML2Chunks.py +9 -12
  2. {robotframework_logxml2chunks-1.1.4/robotframework_logxml2chunks.egg-info → robotframework_logxml2chunks-1.1.5}/PKG-INFO +1 -1
  3. {robotframework_logxml2chunks-1.1.4 → robotframework_logxml2chunks-1.1.5/robotframework_logxml2chunks.egg-info}/PKG-INFO +1 -1
  4. {robotframework_logxml2chunks-1.1.4 → robotframework_logxml2chunks-1.1.5}/setup.py +1 -1
  5. {robotframework_logxml2chunks-1.1.4 → robotframework_logxml2chunks-1.1.5}/LICENSE +0 -0
  6. {robotframework_logxml2chunks-1.1.4 → robotframework_logxml2chunks-1.1.5}/LogXML2Chunks/__init__.py +0 -0
  7. {robotframework_logxml2chunks-1.1.4 → robotframework_logxml2chunks-1.1.5}/LogXML2Chunks/cli.py +0 -0
  8. {robotframework_logxml2chunks-1.1.4 → robotframework_logxml2chunks-1.1.5}/README.md +0 -0
  9. {robotframework_logxml2chunks-1.1.4 → robotframework_logxml2chunks-1.1.5}/robotframework_logxml2chunks.egg-info/SOURCES.txt +0 -0
  10. {robotframework_logxml2chunks-1.1.4 → robotframework_logxml2chunks-1.1.5}/robotframework_logxml2chunks.egg-info/dependency_links.txt +0 -0
  11. {robotframework_logxml2chunks-1.1.4 → robotframework_logxml2chunks-1.1.5}/robotframework_logxml2chunks.egg-info/entry_points.txt +0 -0
  12. {robotframework_logxml2chunks-1.1.4 → robotframework_logxml2chunks-1.1.5}/robotframework_logxml2chunks.egg-info/not-zip-safe +0 -0
  13. {robotframework_logxml2chunks-1.1.4 → robotframework_logxml2chunks-1.1.5}/robotframework_logxml2chunks.egg-info/requires.txt +0 -0
  14. {robotframework_logxml2chunks-1.1.4 → robotframework_logxml2chunks-1.1.5}/robotframework_logxml2chunks.egg-info/top_level.txt +0 -0
  15. {robotframework_logxml2chunks-1.1.4 → robotframework_logxml2chunks-1.1.5}/setup.cfg +0 -0
  16. {robotframework_logxml2chunks-1.1.4 → robotframework_logxml2chunks-1.1.5}/tests/test_logxml2chunks.py +0 -0
@@ -450,22 +450,19 @@ class LogXML2Chunks:
450
450
  for idx, (suite, test) in enumerate(test_cases, 1):
451
451
  test_name = test.get('name')
452
452
  test_id = test.get('id')
453
-
454
- # Setup prefix for filenames based on configuration
455
- if self.filename_prefix_static:
456
- prefix = self.filename_prefix_static
457
- elif self.filename_prefix_pattern:
458
- # Extract filename prefix (if pattern is configured)
459
- prefix = self._extract_filename_prefix(test, suite, root)
460
- else:
461
- prefix = None
462
453
 
463
454
  # Create a safe filename (with prefix if available)
464
455
  safe_name = test_name.replace(' ', '_').replace('/', '_').replace('\\', '_')
465
- if prefix:
466
- xml_filename = f"{idx}_{prefix}_{safe_name}_{test_id}.xml"
456
+ if self.filename_prefix_pattern and self.filename_prefix_static:
457
+ prefix = self._extract_filename_prefix(test, suite, root)
458
+ xml_filename = f"{idx}_{self.filename_prefix_static}_{prefix}__{safe_name}_{test_id}.xml"
459
+ elif self.filename_prefix_static:
460
+ xml_filename = f"{idx}_{self.filename_prefix_static}__{safe_name}_{test_id}.xml"
461
+ elif self.filename_prefix_pattern:
462
+ prefix = self._extract_filename_prefix(test, suite, root)
463
+ xml_filename = f"{idx}_{prefix}__{safe_name}_{test_id}.xml"
467
464
  else:
468
- xml_filename = f"{idx}_{safe_name}_{test_id}.xml"
465
+ xml_filename = f"{idx}__{safe_name}_{test_id}.xml"
469
466
  xml_filepath = output_path / xml_filename
470
467
 
471
468
  if prefix:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: robotframework-logxml2chunks
3
- Version: 1.1.4
3
+ Version: 1.1.5
4
4
  Summary: Extract individual test cases from Robot Framework output.xml into separate chunks
5
5
  Home-page: https://github.com/ajadach/robotframework-LogXML2Chunks
6
6
  Author: Artur Jadach
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: robotframework-logxml2chunks
3
- Version: 1.1.4
3
+ Version: 1.1.5
4
4
  Summary: Extract individual test cases from Robot Framework output.xml into separate chunks
5
5
  Home-page: https://github.com/ajadach/robotframework-LogXML2Chunks
6
6
  Author: Artur Jadach
@@ -10,7 +10,7 @@ long_description = (this_directory / "README.md").read_text(encoding='utf-8')
10
10
 
11
11
  setup(
12
12
  name='robotframework-logxml2chunks',
13
- version='1.1.4',
13
+ version='1.1.5',
14
14
  author='Artur Jadach',
15
15
  author_email='artur.k.ziolkowski@example.com',
16
16
  description='Extract individual test cases from Robot Framework output.xml into separate chunks',