ScriptCollection 4.2.106__py3-none-any.whl → 4.2.107__py3-none-any.whl

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.
@@ -13,7 +13,6 @@ import zipfile
13
13
  import math
14
14
  import base64
15
15
  import os
16
- import sys
17
16
  from html.parser import HTMLParser
18
17
  from queue import Queue, Empty
19
18
  from concurrent.futures import ThreadPoolExecutor
@@ -39,7 +38,7 @@ from .ProgramRunnerBase import ProgramRunnerBase
39
38
  from .ProgramRunnerPopen import ProgramRunnerPopen
40
39
  from .SCLog import SCLog, LogLevel
41
40
 
42
- version = "4.2.106"
41
+ version = "4.2.107"
43
42
  __version__ = version
44
43
 
45
44
  class VSCodeWorkspaceShellTask:
@@ -250,7 +250,7 @@ class TFCPS_CodeUnitSpecific_Docker_Functions(TFCPS_CodeUnitSpecific_Base):
250
250
  curl_arguments="--fail --silent --show-error --max-time 30"
251
251
  if use_https_for_test:
252
252
  curl_arguments=curl_arguments+" --insecure"
253
- self._protected_sc.run_program("docker",f"run --rm --network {network_name} --entrypoint curl {curl_image} {curl_arguments} \"{url}\"")
253
+ self._protected_sc.run_program("docker",f"run --rm --network {network_name} --entrypoint curl {curl_image} {curl_arguments} {url}")
254
254
  return (True,None)
255
255
  except Exception as e:
256
256
  last_exception=e
@@ -271,7 +271,6 @@ class TFCPS_CodeUnitSpecific_Docker_Functions(TFCPS_CodeUnitSpecific_Base):
271
271
  return (False,f"Container \"{container_name}\" is not working properly.{exception_message}{container_output}")
272
272
  finally:
273
273
  self.tfcps_Tools_General.ensure_containers_are_not_running([container_name])
274
- self._protected_sc.ensure_local_docker_network_does_not_exist(network_name)
275
274
 
276
275
  @GeneralUtilities.check_arguments
277
276
  def verify_image_is_working_via_network(self,timeout:timedelta,environment_variables:dict[str,str],container_port:int,http_test_route:str,use_https_for_test:bool,network_name:str):
@@ -579,12 +579,6 @@ class TFCPS_CodeUnitSpecific_DotNet_Functions(TFCPS_CodeUnitSpecific_Base):
579
579
  result = etree.tostring(root).decode("utf-8")
580
580
  GeneralUtilities.write_text_to_file(file, result)
581
581
 
582
- @GeneralUtilities.check_arguments
583
- def __coverage_file_contains_sources_and_packages(self, file: str) -> bool:
584
- root: etree._ElementTree = etree.parse(file)
585
- sources = root.xpath("//coverage/sources/source/text()")
586
- packages = root.xpath("//coverage/packages/package")
587
- return len(sources) > 0 and len(packages) > 0
588
582
 
589
583
  @GeneralUtilities.check_arguments
590
584
  def __standardized_tasks_run_testcases_for_dotnet_project_helper(self, source: str, codeunit_folder: str, match: re.Match) -> str:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scriptcollection
3
- Version: 4.2.106
3
+ Version: 4.2.107
4
4
  Summary: The ScriptCollection is the place for reusable scripts.
5
5
  Author-email: Marius Göcke <marius.goecke@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/anionDev/ScriptCollection
@@ -15,7 +15,7 @@ ScriptCollection/ProgramRunnerMock.py,sha256=uTu-aFle1W_oKjeQEmuPsFPQpvo0kRf2FrR
15
15
  ScriptCollection/ProgramRunnerPopen.py,sha256=BPY7-ZMIlqT7JOKz8qlB5c0laF2Js-ijzqk09GxZC48,3821
16
16
  ScriptCollection/ProgramRunnerSudo.py,sha256=_khC3xuTdrPoLluBJZWfldltmmuKltABJPcbjZSFW-4,4835
17
17
  ScriptCollection/SCLog.py,sha256=8TRy1LeYMsPOIuWUcnUNNbO5pd-cNBS-3cn-kdzP8FU,4768
18
- ScriptCollection/ScriptCollectionCore.py,sha256=QqfcMDkuCN8Se1WFQo3cQ8Ewx8tkkqRR40Zq5Iq54X8,188793
18
+ ScriptCollection/ScriptCollectionCore.py,sha256=YWduvTDGYrU6mZJsIRN-y4Uyjr3wmkAYVuNiv_9tocg,188782
19
19
  ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
20
  ScriptCollection/OCIImages/AbstractImageHandler.py,sha256=o129UYDtLymCRjMZBP9Puaj19ueMHoNt6UTLspfnaRc,1758
21
21
  ScriptCollection/OCIImages/OCIImageManager.py,sha256=2muW4hJ_a7EfavY3WVnafqZ0HC87RcZsoTuNvA3c0To,11175
@@ -40,12 +40,12 @@ ScriptCollection/TFCPS/TFCPS_MergeToStable.py,sha256=xVPer8EGH5vhTT3_mpTMJJxWLB3
40
40
  ScriptCollection/TFCPS/TFCPS_PreBuildCodeunitsScript.py,sha256=f0Uq1cA_4LvmL72cal0crrbKF6PcxL13D9wBKuQ1YBw,2328
41
41
  ScriptCollection/TFCPS/TFCPS_Tools_General.py,sha256=l42hYiDwcafEGIUCXmeyxr7XMzQ01MUEpElVvB1zhKY,105372
42
42
  ScriptCollection/TFCPS/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
43
- ScriptCollection/TFCPS/Docker/TFCPS_CodeUnitSpecific_Docker.py,sha256=RifSjU1JqI96hl63-8AXpIddwDpdHlMZV6uFtKpGNGQ,19669
43
+ ScriptCollection/TFCPS/Docker/TFCPS_CodeUnitSpecific_Docker.py,sha256=jFH8IQ2jmgqVV5Zio9vCvw-OuQgI4DxgM1ahNDkupIw,19577
44
44
  ScriptCollection/TFCPS/Docker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
45
45
  ScriptCollection/TFCPS/DotNet/CertificateGeneratorInformationBase.py,sha256=bT6Gd5pQpZCw4OQz6HWkPCSn5z__eUUEisABLDSxd0o,200
46
46
  ScriptCollection/TFCPS/DotNet/CertificateGeneratorInformationGenerate.py,sha256=QyjOfMY22JWCvKjMelHiDWbJiWqotOfebpJpgDUaoO4,237
47
47
  ScriptCollection/TFCPS/DotNet/CertificateGeneratorInformationNoGenerate.py,sha256=i0zEGehj0sttxjjZtoq2KFSKp_ulxVyWp_ZgAhIY_So,241
48
- ScriptCollection/TFCPS/DotNet/TFCPS_CodeUnitSpecific_DotNet.py,sha256=Wa1NK39CeHSmaMD8w1MFEkfoo-5ssZAE3PDeYkvrakM,40316
48
+ ScriptCollection/TFCPS/DotNet/TFCPS_CodeUnitSpecific_DotNet.py,sha256=v1xfJxMJ6hXmRwuemL8ED3XZkw4sYL3r7B8mLSb0hRA,39959
49
49
  ScriptCollection/TFCPS/DotNet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
50
50
  ScriptCollection/TFCPS/Flutter/TFCPS_CodeUnitSpecific_Flutter.py,sha256=KAjyFyEjpkghsVPskfsHD68k4Z92gRCT_q6BXfikRwE,7660
51
51
  ScriptCollection/TFCPS/Flutter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -291,8 +291,8 @@ build/lib/build/lib/build/lib/build/lib/ScriptCollection/TFCPS/Python/TFCPS_Code
291
291
  build/lib/build/lib/build/lib/build/lib/ScriptCollection/TFCPS/Python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
292
292
  build/lib/build/lib/build/lib/build/lib/ScriptCollection/TFCPS/Rust/TFCPS_CodeUnitSpecific_Rust.py,sha256=WhOsMpJxNGqnQGA3nJ99ruyqymxBeJxCcpK98zJduTo,1680
293
293
  build/lib/build/lib/build/lib/build/lib/ScriptCollection/TFCPS/Rust/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
294
- scriptcollection-4.2.106.dist-info/METADATA,sha256=0wUmuZoKXxzespo0-W27Q9c4k7mlT5drveyJqeM_hGg,7697
295
- scriptcollection-4.2.106.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
296
- scriptcollection-4.2.106.dist-info/entry_points.txt,sha256=_vnVTrGJc_z-DTPLvaYyyOpDEQLz0bdO2OLN3_ZmeR8,4978
297
- scriptcollection-4.2.106.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
298
- scriptcollection-4.2.106.dist-info/RECORD,,
294
+ scriptcollection-4.2.107.dist-info/METADATA,sha256=2Agi7OuYSfAhj0haaPxouUYM_62AgaWIHzE0nPwpL3U,7697
295
+ scriptcollection-4.2.107.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
296
+ scriptcollection-4.2.107.dist-info/entry_points.txt,sha256=_vnVTrGJc_z-DTPLvaYyyOpDEQLz0bdO2OLN3_ZmeR8,4978
297
+ scriptcollection-4.2.107.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
298
+ scriptcollection-4.2.107.dist-info/RECORD,,